#5E7D23#5E7D23

#5E7D23 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.122 H 126.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D23
RGBrgb(94, 125, 35)
HSLhsl(81, 56%, 31%)
HSVhsv(81, 72%, 49%)
CMYKcmyk(24.8%, 0%, 72%, 51%)
CIE-LABlab(48.47, -25.31, 43.27)
CIE-LCHlch(48.47, 50.13, 120.32°)
OKLaboklab(54.72% -0.0726 0.0975)
OKLCHoklch(54.72% 0.122 126.7)
XYZxyz(12.2531, 17.1681, 4.2580)
Luminance0.1717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D23 #42237D
analogous
#7D6F23 #5E7D23 #317D23
triadic
#5E7D23 #235E7D #7D235E
tetradic
#5E7D23 #237D6F #42237D #7D2331
square
#5E7D23 #237D6F #42237D #7D2331
split-complementary
#5E7D23 #23317D #6F237D
monochromatic
#161D08 #3A4D16 #5E7D23 #82AD30 #A1CD4D

Accessibility & contrast

On white

4.74
#5E7D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D23
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D23#FFFFFF#000000##FFFFFF
##5E7D231.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847415
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d23;
/* rgb */ color: rgb(94, 125, 35);
/* oklch */ color: oklch(54.7% 0.122 126.7);
Tailwind
colors: {
  custom: {
    50: '#8fa264',
    500: '#5e7d23',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d23;
$custom-light: #8fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d23",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 80.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.12157,
    "h": 126.7
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#5E7D23
secondary
#6E4CAF
accent
#48E07C
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E7D23

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

Preview Lab → · Contrast checker → · Palette generator →

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