#5E7F14#5E7F14

#5E7F14 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#5E7F14
RGBrgb(94, 127, 20)
HSLhsl(79, 73%, 29%)
HSVhsv(79, 84%, 50%)
CMYKcmyk(26%, 0%, 84.3%, 50.2%)
CIE-LABlab(49.02, -27.13, 49.05)
CIE-LCHlch(49.02, 56.05, 118.94°)
OKLaboklab(55.13% -0.0787 0.1072)
OKLCHoklch(55.13% 0.133 126.3)
XYZxyz(12.3318, 17.6087, 3.4108)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7F14 #35147F
analogous
#7F6B14 #5E7F14 #297F14
triadic
#5E7F14 #145E7F #7F145E
tetradic
#5E7F14 #147F6B #35147F #7F1429
square
#5E7F14 #147F6B #35147F #7F1429
split-complementary
#5E7F14 #14297F #6B147F
monochromatic
#141A04 #374A0C #5E7F14 #85B41C #A8DE2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E7F14#FFFFFF#000000##FFFFFF
##5E7F141.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: #5e7f14;
/* rgb */ color: rgb(94, 127, 20);
/* oklch */ color: oklch(55.1% 0.133 126.3);
Tailwind
colors: {
  custom: {
    50: '#8fa45d',
    500: '#5e7f14',
    950: '#000000',
  },
}
SCSS
$custom: #5e7f14;
$custom-light: #8fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7f14",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 78.505,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55134,
    "c": 0.13298,
    "h": 126.3
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#5E7F14
secondary
#603BB4
accent
#38EF71
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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