#5E7310#5E7310

#5E7310 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.120 H 121.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5E7310
RGBrgb(94, 115, 16)
HSLhsl(73, 76%, 26%)
HSVhsv(73, 86%, 45%)
CMYKcmyk(18.3%, 0%, 86.1%, 54.9%)
CIE-LABlab(45.19, -21.27, 46.81)
CIE-LCHlch(45.19, 51.41, 114.44°)
OKLaboklab(52.03% -0.0631 0.1017)
OKLCHoklch(52.03% 0.12 121.8)
XYZxyz(10.8405, 14.6785, 2.7523)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7310 #251073
analogous
#735610 #5E7310 #2C7310
triadic
#5E7310 #105E73 #73105E
tetradic
#5E7310 #107356 #251073 #73102C
square
#5E7310 #107356 #251073 #73102C
split-complementary
#5E7310 #102C73 #561073
monochromatic
#161B04 #323D09 #5E7310 #8AA917 #B6DE1F

Accessibility & contrast

On white

5.34
#5E7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5E7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7310
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7310#FFFFFF#000000##FFFFFF
##5E73101.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6B00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#646D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5e7310;
/* rgb */ color: rgb(94, 115, 16);
/* oklch */ color: oklch(52.0% 0.120 121.8);
Tailwind
colors: {
  custom: {
    50: '#8f9b5a',
    500: '#5e7310',
    950: '#000000',
  },
}
SCSS
$custom: #5e7310;
$custom-light: #8f9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7310",
  "rgb": {
    "r": 94,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 72.727,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.11968,
    "h": 121.8
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#5E7310
secondary
#4D34AA
accent
#36F25E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5E7310

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

Preview Lab → · Contrast checker → · Palette generator →

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