#7E9B1D#7E9B1D

#7E9B1D is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.148 H 122.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E9B1D
RGBrgb(126, 155, 29)
HSLhsl(74, 68%, 36%)
HSVhsv(74, 81%, 61%)
CMYKcmyk(18.7%, 0%, 81.3%, 39.2%)
CIE-LABlab(59.86, -26.89, 56.96)
CIE-LCHlch(59.86, 62.99, 115.27°)
OKLaboklab(64.48% -0.0793 0.1245)
OKLCHoklch(64.48% 0.148 122.5)
XYZxyz(20.5476, 27.9669, 5.4778)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B1D #3A1D9B
analogous
#9B791D #7E9B1D #3F9B1D
triadic
#7E9B1D #1D7E9B #9B1D7E
tetradic
#7E9B1D #1D9B79 #3A1D9B #9B1D3F
square
#7E9B1D #1D9B79 #3A1D9B #9B1D3F
split-complementary
#7E9B1D #1D3F9B #791D9B
monochromatic
#2A340A #546713 #7E9B1D #A8CF27 #BFDF53

Accessibility & contrast

On white

3.19
#7E9B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E9B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B1D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B1D#FFFFFF#000000##000000
##7E9B1D1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#859384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b1d;
/* rgb */ color: rgb(126, 155, 29);
/* oklch */ color: oklch(64.5% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#a7b865',
    500: '#7e9b1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b1d;
$custom-light: #a7b865;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b1d",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 29
  },
  "hsl": {
    "h": 73.81,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64482,
    "c": 0.1476,
    "h": 122.5
  },
  "luminance": 0.27967
}

Semantic roles & 50–950 ramp

primary
#7E9B1D
secondary
#6C52C2
accent
#3CEB65
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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