#5F751A#5F751A

#5F751A is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.7% C 0.116 H 122.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F751A
RGBrgb(95, 117, 26)
HSLhsl(75, 64%, 28%)
HSVhsv(75, 78%, 46%)
CMYKcmyk(18.8%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.95, -21.40, 44.30)
CIE-LCHlch(45.95, 49.20, 115.78°)
OKLaboklab(52.68% -0.0627 0.0982)
OKLCHoklch(52.68% 0.116 122.6)
XYZxyz(11.2672, 15.2300, 3.3232)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F751A #301A75
analogous
#755D1A #5F751A #32751A
triadic
#5F751A #1A5F75 #751A5F
tetradic
#5F751A #1A755D #301A75 #751A32
square
#5F751A #1A755D #301A75 #751A32
split-complementary
#5F751A #1A3275 #5D1A75
monochromatic
#141906 #36430F #5F751A #88A725 #ADD337

Accessibility & contrast

On white

5.19
#5F751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5F751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F751A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F751A#FFFFFF#000000##FFFFFF
##5F751A1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D06
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#646F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f751a;
/* rgb */ color: rgb(95, 117, 26);
/* oklch */ color: oklch(52.7% 0.116 122.6);
Tailwind
colors: {
  custom: {
    50: '#8f9c5e',
    500: '#5f751a',
    950: '#000000',
  },
}
SCSS
$custom: #5f751a;
$custom-light: #8f9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f751a",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 74.505,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.11648,
    "h": 122.6
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#5F751A
secondary
#5A41AA
accent
#41E769
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F751A

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

Preview Lab → · Contrast checker → · Palette generator →

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