#5E7C16#5E7C16

#5E7C16 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.128 H 125.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E7C16
RGBrgb(94, 124, 22)
HSLhsl(78, 70%, 29%)
HSVhsv(78, 82%, 49%)
CMYKcmyk(24.2%, 0%, 82.3%, 51.4%)
CIE-LABlab(48.07, -25.57, 47.61)
CIE-LCHlch(48.07, 54.04, 118.24°)
OKLaboklab(54.37% -0.0744 0.1044)
OKLCHoklch(54.37% 0.128 125.5)
XYZxyz(11.9687, 16.8527, 3.3812)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C16 #34167C
analogous
#7C6716 #5E7C16 #2B7C16
triadic
#5E7C16 #165E7C #7C165E
tetradic
#5E7C16 #167C67 #34167C #7C162B
square
#5E7C16 #167C67 #34167C #7C162B
split-complementary
#5E7C16 #162B7C #67167C
monochromatic
#141A05 #37480D #5E7C16 #85B01F #A9DB32

Accessibility & contrast

On white

4.80
#5E7C16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E7C16
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C16#FFFFFF#000000##FFFFFF
##5E7C161.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7c16;
/* rgb */ color: rgb(94, 124, 22);
/* oklch */ color: oklch(54.4% 0.128 125.5);
Tailwind
colors: {
  custom: {
    50: '#8fa25d',
    500: '#5e7c16',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c16;
$custom-light: #8fa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c16",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 77.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.12821,
    "h": 125.5
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#5E7C16
secondary
#5F3DB1
accent
#3BED6F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7C16

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

Preview Lab → · Contrast checker → · Palette generator →

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