#5E741B#5E741B

#5E741B is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.115 H 122.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5E741B
RGBrgb(94, 116, 27)
HSLhsl(75, 62%, 28%)
HSVhsv(75, 77%, 45%)
CMYKcmyk(19%, 0%, 76.7%, 54.5%)
CIE-LABlab(45.57, -21.27, 43.54)
CIE-LCHlch(45.57, 48.46, 116.03°)
OKLaboklab(52.35% -0.0622 0.0968)
OKLCHoklch(52.35% 0.115 122.7)
XYZxyz(11.0595, 14.9496, 3.3396)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E741B #311B74
analogous
#745D1B #5E741B #32741B
triadic
#5E741B #1B5E74 #741B5E
tetradic
#5E741B #1B745D #311B74 #741B32
square
#5E741B #1B745D #311B74 #741B32
split-complementary
#5E741B #1B3274 #5D1B74
monochromatic
#141906 #36420F #5E741B #86A627 #ABD139

Accessibility & contrast

On white

5.26
#5E741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5E741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E741B
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E741B#FFFFFF#000000##FFFFFF
##5E741B1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C09
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#636E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e741b;
/* rgb */ color: rgb(94, 116, 27);
/* oklch */ color: oklch(52.3% 0.115 122.7);
Tailwind
colors: {
  custom: {
    50: '#8f9c5f',
    500: '#5e741b',
    950: '#000000',
  },
}
SCSS
$custom: #5e741b;
$custom-light: #8f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e741b",
  "rgb": {
    "r": 94,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 74.831,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.11502,
    "h": 122.7
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#5E741B
secondary
#5C42A9
accent
#42E56B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E741B

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

Preview Lab → · Contrast checker → · Palette generator →

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