#7D9617#7D9617

#7D9617 is a light, vivid yellow-green. Relative luminance 0.262; OKLCH L 63.2% C 0.145 H 121.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7D9617
RGBrgb(125, 150, 23)
HSLhsl(72, 73%, 34%)
HSVhsv(72, 85%, 59%)
CMYKcmyk(16.7%, 0%, 84.7%, 41.2%)
CIE-LABlab(58.26, -25.09, 57.16)
CIE-LCHlch(58.26, 62.42, 113.70°)
OKLaboklab(63.16% -0.0748 0.1239)
OKLCHoklch(63.16% 0.145 121.1)
XYZxyz(19.5188, 26.2345, 4.8459)
Luminance0.2624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9617 #301796
analogous
#967017 #7D9617 #3E9617
triadic
#7D9617 #177D96 #96177D
tetradic
#7D9617 #179670 #301796 #96173E
square
#7D9617 #179670 #301796 #96173E
split-complementary
#7D9617 #173E96 #701796
monochromatic
#252C07 #51610F #7D9617 #A9CB1F #C3E245

Accessibility & contrast

On white

3.36
#7D9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#7D9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9617
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9617#FFFFFF#000000##000000
##7D96171.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08C00
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#848E80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7d9617;
/* rgb */ color: rgb(125, 150, 23);
/* oklch */ color: oklch(63.2% 0.145 121.1);
Tailwind
colors: {
  custom: {
    50: '#a6b462',
    500: '#7d9617',
    950: '#000000',
  },
}
SCSS
$custom: #7d9617;
$custom-light: #a6b462;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9617",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 71.811,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63164,
    "c": 0.14471,
    "h": 121.1
  },
  "luminance": 0.26235
}

Semantic roles & 50–950 ramp

primary
#7D9617
secondary
#5E45C3
accent
#38F05C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9617

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

Preview Lab → · Contrast checker → · Palette generator →

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