#5E702B#5E702B

#5E702B is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.5% C 0.097 H 122.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5E702B
RGBrgb(94, 112, 43)
HSLhsl(76, 45%, 30%)
HSVhsv(76, 62%, 44%)
CMYKcmyk(16.1%, 0%, 61.6%, 56.1%)
CIE-LABlab(44.44, -17.98, 35.34)
CIE-LCHlch(44.44, 39.65, 116.96°)
OKLaboklab(51.48% -0.0515 0.0819)
OKLCHoklch(51.48% 0.097 122.1)
XYZxyz(10.8464, 14.1424, 4.4434)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E702B #3D2B70
analogous
#705F2B #5E702B #3B702B
triadic
#5E702B #2B5E70 #702B5E
tetradic
#5E702B #2B705F #3D2B70 #702B3B
square
#5E702B #2B705F #3D2B70 #702B3B
split-complementary
#5E702B #2B3B70 #5F2B70
monochromatic
#141809 #39441A #5E702B #839C3C #A3BE57

Accessibility & contrast

On white

5.49
#5E702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E702B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E702B#FFFFFF#000000##FFFFFF
##5E702B1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766923
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#636B61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e702b;
/* rgb */ color: rgb(94, 112, 43);
/* oklch */ color: oklch(51.5% 0.097 122.1);
Tailwind
colors: {
  custom: {
    50: '#8d9967',
    500: '#5e702b',
    950: '#000000',
  },
}
SCSS
$custom: #5e702b;
$custom-light: #8d9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5e702b",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 75.652,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.09678,
    "h": 122.1
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#5E702B
secondary
#6955A2
accent
#54D475
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5E702B

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

Preview Lab → · Contrast checker → · Palette generator →

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