#7E9E1D#7E9E1D

#7E9E1D is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.151 H 123.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7E9E1D
RGBrgb(126, 158, 29)
HSLhsl(75, 69%, 37%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.3%, 0%, 81.6%, 38%)
CIE-LABlab(60.76, -28.35, 57.77)
CIE-LCHlch(60.76, 64.35, 116.14°)
OKLaboklab(65.21% -0.0833 0.1262)
OKLCHoklch(65.21% 0.151 123.4)
XYZxyz(21.0531, 28.9779, 5.6463)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E1D #3D1D9E
analogous
#9E7E1D #7E9E1D #3D9E1D
triadic
#7E9E1D #1D7E9E #9E1D7E
tetradic
#7E9E1D #1D9E7E #3D1D9E #9E1D3D
square
#7E9E1D #1D9E7E #3D1D9E #9E1D3D
split-complementary
#7E9E1D #1D3D9E #7E1D9E
monochromatic
#2C370A #556A14 #7E9E1D #A7D226 #BEE056

Accessibility & contrast

On white

3.09
#7E9E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7E9E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E1D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E1D#FFFFFF#000000##000000
##7E9E1D1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#859687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e1d;
/* rgb */ color: rgb(126, 158, 29);
/* oklch */ color: oklch(65.2% 0.151 123.4);
Tailwind
colors: {
  custom: {
    50: '#a7ba66',
    500: '#7e9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e1d;
$custom-light: #a7ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e1d",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 74.884,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.1512,
    "h": 123.4
  },
  "luminance": 0.28978
}

Semantic roles & 50–950 ramp

primary
#7E9E1D
secondary
#6F54C3
accent
#3CEC68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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