#5E701F#5E701F

#5E701F is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.107 H 121.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5E701F
RGBrgb(94, 112, 31)
HSLhsl(73, 57%, 28%)
HSVhsv(73, 72%, 44%)
CMYKcmyk(16.1%, 0%, 72.3%, 56.1%)
CIE-LABlab(44.33, -18.93, 40.73)
CIE-LCHlch(44.33, 44.91, 114.93°)
OKLaboklab(51.36% -0.0554 0.0915)
OKLCHoklch(51.36% 0.107 121.2)
XYZxyz(10.6577, 14.0670, 3.4498)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E701F #311F70
analogous
#70591F #5E701F #36701F
triadic
#5E701F #1F5E70 #701F5E
tetradic
#5E701F #1F7059 #311F70 #701F36
square
#5E701F #1F7059 #311F70 #701F36
split-complementary
#5E701F #1F3670 #591F70
monochromatic
#141807 #364012 #5E701F #86A02C #ABCA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E701F#FFFFFF#000000##FFFFFF
##5E701F1.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)
#776912
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#636A60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e701f;
/* rgb */ color: rgb(94, 112, 31);
/* oklch */ color: oklch(51.4% 0.107 121.2);
Tailwind
colors: {
  custom: {
    50: '#8e9960',
    500: '#5e701f',
    950: '#000000',
  },
}
SCSS
$custom: #5e701f;
$custom-light: #8e9960;
$custom-dark: #000000;
JSON
{
  "hex": "#5e701f",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 73.333,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5136,
    "c": 0.107,
    "h": 121.2
  },
  "luminance": 0.14067
}

Semantic roles & 50–950 ramp

primary
#5E701F
secondary
#5C47A4
accent
#48E06A
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0D05
muted
#7D7E79

Preview Lab

Preview with #5E701F

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

Preview Lab → · Contrast checker → · Palette generator →

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