#5E7C13#5E7C13

#5E7C13 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.4% C 0.130 H 125.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5E7C13
RGBrgb(94, 124, 19)
HSLhsl(77, 73%, 28%)
HSVhsv(77, 85%, 49%)
CMYKcmyk(24.2%, 0%, 84.7%, 51.4%)
CIE-LABlab(48.06, -25.70, 48.49)
CIE-LCHlch(48.06, 54.88, 117.92°)
OKLaboklab(54.36% -0.0749 0.1058)
OKLCHoklch(54.36% 0.13 125.3)
XYZxyz(11.9414, 16.8418, 3.2376)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C13 #31137C
analogous
#7C6513 #5E7C13 #297C13
triadic
#5E7C13 #135E7C #7C135E
tetradic
#5E7C13 #137C65 #31137C #7C1329
square
#5E7C13 #137C65 #31137C #7C1329
split-complementary
#5E7C13 #13297C #65137C
monochromatic
#141B04 #36470B #5E7C13 #86B11B #ABDF2B

Accessibility & contrast

On white

4.81
#5E7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5E7C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C13
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C13#FFFFFF#000000##FFFFFF
##5E7C131.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#637669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e7c13;
/* rgb */ color: rgb(94, 124, 19);
/* oklch */ color: oklch(54.4% 0.130 125.3);
Tailwind
colors: {
  custom: {
    50: '#8fa25c',
    500: '#5e7c13',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c13;
$custom-light: #8fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c13",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 77.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54355,
    "c": 0.12964,
    "h": 125.3
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#5E7C13
secondary
#5C39B2
accent
#38F06C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F04
muted
#7E7E79

Preview Lab

Preview with #5E7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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