#5F741C#5F741C

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

Color values

HEX#5F741C
RGBrgb(95, 116, 28)
HSLhsl(74, 61%, 28%)
HSVhsv(74, 76%, 45%)
CMYKcmyk(18.1%, 0%, 75.9%, 54.5%)
CIE-LABlab(45.64, -20.77, 43.26)
CIE-LCHlch(45.64, 47.99, 115.64°)
OKLaboklab(52.43% -0.0608 0.0963)
OKLCHoklch(52.43% 0.114 122.3)
XYZxyz(11.1745, 15.0075, 3.4064)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F741C #311C74
analogous
#745D1C #5F741C #33741C
triadic
#5F741C #1C5F74 #741C5F
tetradic
#5F741C #1C745D #311C74 #741C33
square
#5F741C #1C745D #311C74 #741C33
split-complementary
#5F741C #1C3374 #5D1C74
monochromatic
#141906 #374310 #5F741C #87A528 #ACD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F741C#FFFFFF#000000##FFFFFF
##5F741C1.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)
#7B6D0B
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#646E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f741c;
/* rgb */ color: rgb(95, 116, 28);
/* oklch */ color: oklch(52.4% 0.114 122.3);
Tailwind
colors: {
  custom: {
    50: '#8f9c5f',
    500: '#5f741c',
    950: '#000000',
  },
}
SCSS
$custom: #5f741c;
$custom-light: #8f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f741c",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 74.318,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.11391,
    "h": 122.3
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#5F741C
secondary
#5C43A8
accent
#44E46A
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F741C

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

Preview Lab → · Contrast checker → · Palette generator →

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