#7D9518#7D9518

#7D9518 is a light, vivid yellow-green. Relative luminance 0.259; OKLCH L 62.9% C 0.143 H 120.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7D9518
RGBrgb(125, 149, 24)
HSLhsl(72, 72%, 34%)
HSVhsv(72, 84%, 58%)
CMYKcmyk(16.1%, 0%, 83.9%, 41.6%)
CIE-LABlab(57.96, -24.56, 56.64)
CIE-LCHlch(57.96, 61.74, 113.44°)
OKLaboklab(62.93% -0.0733 0.123)
OKLCHoklch(62.93% 0.143 120.8)
XYZxyz(19.3701, 25.9208, 4.8468)
Luminance0.2592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9518 #301895
analogous
#956F18 #7D9518 #3F9518
triadic
#7D9518 #187D95 #95187D
tetradic
#7D9518 #18956F #301895 #95183F
square
#7D9518 #18956F #301895 #95183F
split-complementary
#7D9518 #183F95 #6F1895
monochromatic
#252C07 #516010 #7D9518 #A9CA20 #C3E146

Accessibility & contrast

On white

3.40
#7D9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7D9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9518
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9518#FFFFFF#000000##000000
##7D95181.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#858D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9518;
/* rgb */ color: rgb(125, 149, 24);
/* oklch */ color: oklch(62.9% 0.143 120.8);
Tailwind
colors: {
  custom: {
    50: '#a6b463',
    500: '#7d9518',
    950: '#000000',
  },
}
SCSS
$custom: #7d9518;
$custom-light: #a6b463;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9518",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 71.52,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.14313,
    "h": 120.8
  },
  "luminance": 0.25921
}

Semantic roles & 50–950 ramp

primary
#7D9518
secondary
#5E46C2
accent
#39EF5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9518

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7D9518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva