#5E7B1A#5E7B1A

#5E7B1A is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 54.1% C 0.125 H 125.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E7B1A
RGBrgb(94, 123, 26)
HSLhsl(78, 65%, 29%)
HSVhsv(78, 79%, 48%)
CMYKcmyk(23.6%, 0%, 78.9%, 51.8%)
CIE-LABlab(47.78, -24.87, 46.02)
CIE-LCHlch(47.78, 52.31, 118.39°)
OKLaboklab(54.14% -0.0722 0.1018)
OKLCHoklch(54.14% 0.125 125.3)
XYZxyz(11.8856, 16.6200, 3.5589)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7B1A #371A7B
analogous
#7B681A #5E7B1A #2E7B1A
triadic
#5E7B1A #1A5E7B #7B1A5E
tetradic
#5E7B1A #1A7B68 #371A7B #7B1A2E
square
#5E7B1A #1A7B68 #371A7B #7B1A2E
split-complementary
#5E7B1A #1A2E7B #681A7B
monochromatic
#131905 #37480F #5E7B1A #85AE25 #A7D53A

Accessibility & contrast

On white

4.86
#5E7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5E7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7B1A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7B1A#FFFFFF#000000##FFFFFF
##5E7B1A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827203
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#637569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7b1a;
/* rgb */ color: rgb(94, 123, 26);
/* oklch */ color: oklch(54.1% 0.125 125.3);
Tailwind
colors: {
  custom: {
    50: '#8fa15f',
    500: '#5e7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e7b1a;
$custom-light: #8fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7b1a",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 77.938,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.12476,
    "h": 125.3
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#5E7B1A
secondary
#6242AF
accent
#40E872
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

#5E7B1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva