#5E701B#5E701B

#5E701B is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.3% C 0.110 H 121.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E701B
RGBrgb(94, 112, 27)
HSLhsl(73, 61%, 27%)
HSVhsv(73, 76%, 44%)
CMYKcmyk(16.1%, 0%, 75.9%, 56.1%)
CIE-LABlab(44.30, -19.18, 42.32)
CIE-LCHlch(44.30, 46.46, 114.38°)
OKLaboklab(51.33% -0.0565 0.0942)
OKLCHoklch(51.33% 0.11 121)
XYZxyz(10.6083, 14.0472, 3.1892)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E701B #2D1B70
analogous
#70581B #5E701B #34701B
triadic
#5E701B #1B5E70 #701B5E
tetradic
#5E701B #1B7058 #2D1B70 #701B34
square
#5E701B #1B7058 #2D1B70 #701B34
split-complementary
#5E701B #1B3470 #581B70
monochromatic
#151906 #353F0F #5E701B #87A127 #AFCF37

Accessibility & contrast

On white

5.51
#5E701B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5E701B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E701B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E701B#FFFFFF#000000##FFFFFF
##5E701B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#646A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e701b;
/* rgb */ color: rgb(94, 112, 27);
/* oklch */ color: oklch(51.3% 0.110 121.0);
Tailwind
colors: {
  custom: {
    50: '#8e995e',
    500: '#5e701b',
    950: '#000000',
  },
}
SCSS
$custom: #5e701b;
$custom-light: #8e995e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e701b",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 72.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.10981,
    "h": 121
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#5E701B
secondary
#5742A5
accent
#44E466
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D05
muted
#7E7E79

Preview Lab

Preview with #5E701B

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

Preview Lab → · Contrast checker → · Palette generator →

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