#5E7B19#5E7B19

#5E7B19 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#5E7B19
RGBrgb(94, 123, 25)
HSLhsl(78, 66%, 29%)
HSVhsv(78, 80%, 48%)
CMYKcmyk(23.6%, 0%, 79.7%, 51.8%)
CIE-LABlab(47.77, -24.92, 46.35)
CIE-LCHlch(47.77, 52.63, 118.27°)
OKLaboklab(54.13% -0.0724 0.1023)
OKLCHoklch(54.13% 0.125 125.3)
XYZxyz(11.8746, 16.6156, 3.5010)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7B19 #36197B
analogous
#7B6719 #5E7B19 #2D7B19
triadic
#5E7B19 #195E7B #7B195E
tetradic
#5E7B19 #197B67 #36197B #7B192D
square
#5E7B19 #197B67 #36197B #7B192D
split-complementary
#5E7B19 #192D7B #67197B
monochromatic
#131905 #37480F #5E7B19 #85AE23 #A8D738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7B19#FFFFFF#000000##FFFFFF
##5E7B191.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)
#827201
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#637569
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e7b19;
/* rgb */ color: rgb(94, 123, 25);
/* oklch */ color: oklch(54.1% 0.125 125.3);
Tailwind
colors: {
  custom: {
    50: '#8fa15f',
    500: '#5e7b19',
    950: '#000000',
  },
}
SCSS
$custom: #5e7b19;
$custom-light: #8fa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7b19",
  "rgb": {
    "r": 94,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 77.755,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54131,
    "c": 0.12534,
    "h": 125.3
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#5E7B19
secondary
#6140AF
accent
#3FE971
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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