#5F741E#5F741E

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

Color values

HEX#5F741E
RGBrgb(95, 116, 30)
HSLhsl(75, 59%, 29%)
HSVhsv(75, 74%, 45%)
CMYKcmyk(18.1%, 0%, 74.1%, 54.5%)
CIE-LABlab(45.66, -20.64, 42.49)
CIE-LCHlch(45.66, 47.24, 115.91°)
OKLaboklab(52.45% -0.0603 0.0951)
OKLCHoklch(52.45% 0.113 122.4)
XYZxyz(11.1992, 15.0174, 3.5367)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F741E #331E74
analogous
#745E1E #5F741E #34741E
triadic
#5F741E #1E5F74 #741E5F
tetradic
#5F741E #1E745E #331E74 #741E34
square
#5F741E #1E745E #331E74 #741E34
split-complementary
#5F741E #1E3474 #5E1E74
monochromatic
#141806 #374311 #5F741E #87A52B #ABCD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F741E#FFFFFF#000000##FFFFFF
##5F741E1.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)
#7B6D0F
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#646E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f741e;
/* rgb */ color: rgb(95, 116, 30);
/* oklch */ color: oklch(52.4% 0.113 122.4);
Tailwind
colors: {
  custom: {
    50: '#8f9c60',
    500: '#5f741e',
    950: '#000000',
  },
}
SCSS
$custom: #5f741e;
$custom-light: #8f9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f741e",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 74.651,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.11256,
    "h": 122.4
  },
  "luminance": 0.15017
}

Semantic roles & 50–950 ramp

primary
#5F741E
secondary
#5E46A8
accent
#46E26C
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F741E

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

Preview Lab → · Contrast checker → · Palette generator →

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