#5F741A#5F741A

#5F741A is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.115 H 122.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F741A
RGBrgb(95, 116, 26)
HSLhsl(74, 63%, 28%)
HSVhsv(74, 78%, 45%)
CMYKcmyk(18.1%, 0%, 77.6%, 54.5%)
CIE-LABlab(45.63, -20.88, 44.00)
CIE-LCHlch(45.63, 48.70, 115.39°)
OKLaboklab(52.42% -0.0613 0.0975)
OKLCHoklch(52.42% 0.115 122.2)
XYZxyz(11.1513, 14.9982, 3.2846)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F741A #2F1A74
analogous
#745C1A #5F741A #32741A
triadic
#5F741A #1A5F74 #741A5F
tetradic
#5F741A #1A745C #2F1A74 #741A32
square
#5F741A #1A745C #2F1A74 #741A32
split-complementary
#5F741A #1A3274 #5C1A74
monochromatic
#141906 #36420F #5F741A #88A625 #AED236

Accessibility & contrast

On white

5.25
#5F741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5F741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F741A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F741A#FFFFFF#000000##FFFFFF
##5F741A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D07
Deuteranopia (green-blind)
#796C22
Tritanopia (blue-blind)
#646E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f741a;
/* rgb */ color: rgb(95, 116, 26);
/* oklch */ color: oklch(52.4% 0.115 122.2);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5f741a',
    950: '#000000',
  },
}
SCSS
$custom: #5f741a;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f741a",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 74,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.11518,
    "h": 122.2
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#5F741A
secondary
#5941A9
accent
#41E668
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F741A

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

Preview Lab → · Contrast checker → · Palette generator →

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