#7D9E16#7D9E16

#7D9E16 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.1% C 0.155 H 123.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7D9E16
RGBrgb(125, 158, 22)
HSLhsl(75, 76%, 35%)
HSVhsv(75, 86%, 62%)
CMYKcmyk(20.9%, 0%, 86.1%, 38%)
CIE-LABlab(60.67, -29.02, 59.46)
CIE-LCHlch(60.67, 66.17, 116.01°)
OKLaboklab(65.11% -0.0855 0.1287)
OKLCHoklch(65.11% 0.155 123.6)
XYZxyz(20.8294, 28.8715, 5.2343)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E16 #37169E
analogous
#9E7B16 #7D9E16 #399E16
triadic
#7D9E16 #167D9E #9E167D
tetradic
#7D9E16 #169E7B #37169E #9E1639
square
#7D9E16 #169E7B #37169E #9E1639
split-complementary
#7D9E16 #16399E #7B169E
monochromatic
#283307 #52680F #7D9E16 #A7D41D #C0E649

Accessibility & contrast

On white

3.10
#7D9E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#7D9E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E16
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E16#FFFFFF#000000##000000
##7D9E161.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#849686
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9e16;
/* rgb */ color: rgb(125, 158, 22);
/* oklch */ color: oklch(65.1% 0.155 123.6);
Tailwind
colors: {
  custom: {
    50: '#a7ba63',
    500: '#7d9e16',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e16;
$custom-light: #a7ba63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e16",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 22
  },
  "hsl": {
    "h": 74.559,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65111,
    "c": 0.15451,
    "h": 123.6
  },
  "luminance": 0.28872
}

Semantic roles & 50–950 ramp

primary
#7D9E16
secondary
#6749C7
accent
#36F263
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9E16

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

Preview Lab → · Contrast checker → · Palette generator →

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