#5E7F13#5E7F13

#5E7F13 is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.133 H 126.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E7F13
RGBrgb(94, 127, 19)
HSLhsl(78, 74%, 29%)
HSVhsv(78, 85%, 50%)
CMYKcmyk(26%, 0%, 85%, 50.2%)
CIE-LABlab(49.01, -27.17, 49.33)
CIE-LCHlch(49.01, 56.32, 118.84°)
OKLaboklab(55.13% -0.0789 0.1076)
OKLCHoklch(55.13% 0.133 126.3)
XYZxyz(12.3231, 17.6052, 3.3649)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7F13 #34137F
analogous
#7F6A13 #5E7F13 #287F13
triadic
#5E7F13 #135E7F #7F135E
tetradic
#5E7F13 #137F6A #34137F #7F1328
square
#5E7F13 #137F6A #34137F #7F1328
split-complementary
#5E7F13 #13287F #6A137F
monochromatic
#141B04 #374A0B #5E7F13 #85B41B #A9E02D

Accessibility & contrast

On white

4.64
#5E7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5E7F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7F13
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7F13#FFFFFF#000000##FFFFFF
##5E7F131.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#62796C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7f13;
/* rgb */ color: rgb(94, 127, 19);
/* oklch */ color: oklch(55.1% 0.133 126.3);
Tailwind
colors: {
  custom: {
    50: '#8fa45d',
    500: '#5e7f13',
    950: '#000000',
  },
}
SCSS
$custom: #5e7f13;
$custom-light: #8fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7f13",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 78.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55129,
    "c": 0.13342,
    "h": 126.3
  },
  "luminance": 0.17605
}

Semantic roles & 50–950 ramp

primary
#5E7F13
secondary
#5F39B4
accent
#37F170
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7F13

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

Preview Lab → · Contrast checker → · Palette generator →

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