#5F751E#5F751E

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

Color values

HEX#5F751E
RGBrgb(95, 117, 30)
HSLhsl(75, 59%, 29%)
HSVhsv(75, 74%, 46%)
CMYKcmyk(18.8%, 0%, 74.4%, 54.1%)
CIE-LABlab(45.97, -21.16, 42.81)
CIE-LCHlch(45.97, 47.75, 116.30°)
OKLaboklab(52.7% -0.0617 0.0957)
OKLCHoklch(52.7% 0.114 122.8)
XYZxyz(11.3151, 15.2492, 3.5753)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F751E #341E75
analogous
#75601E #5F751E #34751E
triadic
#5F751E #1E5F75 #751E5F
tetradic
#5F751E #1E7560 #341E75 #751E34
square
#5F751E #1E7560 #341E75 #751E34
split-complementary
#5F751E #1E3475 #601E75
monochromatic
#141806 #374412 #5F751E #87A62A #AACE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F751E#FFFFFF#000000##FFFFFF
##5F751E1.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)
#7C6D0F
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#646F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f751e;
/* rgb */ color: rgb(95, 117, 30);
/* oklch */ color: oklch(52.7% 0.114 122.8);
Tailwind
colors: {
  custom: {
    50: '#8f9c60',
    500: '#5f751e',
    950: '#000000',
  },
}
SCSS
$custom: #5f751e;
$custom-light: #8f9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f751e",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 75.172,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.11387,
    "h": 122.8
  },
  "luminance": 0.15249
}

Semantic roles & 50–950 ramp

primary
#5F751E
secondary
#5F46A9
accent
#45E26D
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F751E

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

Preview Lab → · Contrast checker → · Palette generator →

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