#7E9F1D#7E9F1D

#7E9F1D is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.152 H 123.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7E9F1D
RGBrgb(126, 159, 29)
HSLhsl(75, 69%, 37%)
HSVhsv(75, 82%, 62%)
CMYKcmyk(20.8%, 0%, 81.8%, 37.6%)
CIE-LABlab(61.06, -28.83, 58.04)
CIE-LCHlch(61.06, 64.80, 116.41°)
OKLaboklab(65.46% -0.0846 0.1268)
OKLCHoklch(65.46% 0.152 123.7)
XYZxyz(21.2244, 29.3204, 5.7034)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F1D #3E1D9F
analogous
#9F7F1D #7E9F1D #3D9F1D
triadic
#7E9F1D #1D7E9F #9F1D7E
tetradic
#7E9F1D #1D9F7F #3E1D9F #9F1D3D
square
#7E9F1D #1D9F7F #3E1D9F #9F1D3D
split-complementary
#7E9F1D #1D3D9F #7F1D9F
monochromatic
#2C370A #556B14 #7E9F1D #A7D326 #BDE056

Accessibility & contrast

On white

3.06
#7E9F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#7E9F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F1D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F1D#FFFFFF#000000##000000
##7E9F1D1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#859788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f1d;
/* rgb */ color: rgb(126, 159, 29);
/* oklch */ color: oklch(65.5% 0.152 123.7);
Tailwind
colors: {
  custom: {
    50: '#a7bb66',
    500: '#7e9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f1d;
$custom-light: #a7bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f1d",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 75.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.1524,
    "h": 123.7
  },
  "luminance": 0.29321
}

Semantic roles & 50–950 ramp

primary
#7E9F1D
secondary
#7054C4
accent
#3CEC69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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