#7D9417#7D9417

#7D9417 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.142 H 120.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7D9417
RGBrgb(125, 148, 23)
HSLhsl(71, 73%, 34%)
HSVhsv(71, 84%, 58%)
CMYKcmyk(15.5%, 0%, 84.5%, 42%)
CIE-LABlab(57.66, -24.10, 56.64)
CIE-LCHlch(57.66, 61.55, 113.05°)
OKLaboklab(62.68% -0.0721 0.1228)
OKLCHoklch(62.68% 0.142 120.4)
XYZxyz(19.2024, 25.6017, 4.7405)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9417 #2E1794
analogous
#946C17 #7D9417 #3E9417
triadic
#7D9417 #177D94 #94177D
tetradic
#7D9417 #17946C #2E1794 #94173E
square
#7D9417 #17946C #2E1794 #94173E
split-complementary
#7D9417 #173E94 #6C1794
monochromatic
#242A07 #505F0F #7D9417 #AAC91F #C5E244

Accessibility & contrast

On white

3.43
#7D9417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7D9417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9417
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9417#FFFFFF#000000##000000
##7D94171.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#858C7E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7d9417;
/* rgb */ color: rgb(125, 148, 23);
/* oklch */ color: oklch(62.7% 0.142 120.4);
Tailwind
colors: {
  custom: {
    50: '#a6b362',
    500: '#7d9417',
    950: '#000000',
  },
}
SCSS
$custom: #7d9417;
$custom-light: #a6b362;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9417",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 71.04,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.14238,
    "h": 120.4
  },
  "luminance": 0.25602
}

Semantic roles & 50–950 ramp

primary
#7D9417
secondary
#5B44C3
accent
#38F05A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9417

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

Preview Lab → · Contrast checker → · Palette generator →

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