#5E7E13#5E7E13

#5E7E13 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.9% C 0.132 H 126.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5E7E13
RGBrgb(94, 126, 19)
HSLhsl(78, 74%, 28%)
HSVhsv(78, 85%, 49%)
CMYKcmyk(25.4%, 0%, 84.9%, 50.6%)
CIE-LABlab(48.70, -26.68, 49.05)
CIE-LCHlch(48.70, 55.84, 118.54°)
OKLaboklab(54.87% -0.0776 0.107)
OKLCHoklch(54.87% 0.132 126)
XYZxyz(12.1946, 17.3482, 3.3220)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7E13 #33137E
analogous
#7E6813 #5E7E13 #287E13
triadic
#5E7E13 #135E7E #7E135E
tetradic
#5E7E13 #137E68 #33137E #7E1328
square
#5E7E13 #137E68 #33137E #7E1328
split-complementary
#5E7E13 #13287E #68137E
monochromatic
#141B04 #36490B #5E7E13 #86B31B #AADF2C

Accessibility & contrast

On white

4.70
#5E7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#5E7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7E13
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7E13#FFFFFF#000000##FFFFFF
##5E7E131.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#62786B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e7e13;
/* rgb */ color: rgb(94, 126, 19);
/* oklch */ color: oklch(54.9% 0.132 126.0);
Tailwind
colors: {
  custom: {
    50: '#8fa35d',
    500: '#5e7e13',
    950: '#000000',
  },
}
SCSS
$custom: #5e7e13;
$custom-light: #8fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7e13",
  "rgb": {
    "r": 94,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 77.944,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.13217,
    "h": 126
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#5E7E13
secondary
#5E39B4
accent
#37F06F
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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