#5F751D#5F751D

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

Color values

HEX#5F751D
RGBrgb(95, 117, 29)
HSLhsl(75, 60%, 29%)
HSVhsv(75, 75%, 46%)
CMYKcmyk(18.8%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.97, -21.22, 43.19)
CIE-LCHlch(45.97, 48.12, 116.17°)
OKLaboklab(52.7% -0.062 0.0963)
OKLCHoklch(52.7% 0.115 122.8)
XYZxyz(11.3025, 15.2441, 3.5091)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F751D #331D75
analogous
#755F1D #5F751D #33751D
triadic
#5F751D #1D5F75 #751D5F
tetradic
#5F751D #1D755F #331D75 #751D33
square
#5F751D #1D755F #331D75 #751D33
split-complementary
#5F751D #1D3375 #5F1D75
monochromatic
#141906 #374411 #5F751D #87A629 #ABCF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5f751d;
/* rgb */ color: rgb(95, 117, 29);
/* oklch */ color: oklch(52.7% 0.115 122.8);
Tailwind
colors: {
  custom: {
    50: '#8f9c60',
    500: '#5f751d',
    950: '#000000',
  },
}
SCSS
$custom: #5f751d;
$custom-light: #8f9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5f751d",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 75,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52696,
    "c": 0.11455,
    "h": 122.8
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#5F751D
secondary
#5E45A9
accent
#44E36C
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F751D

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

Preview Lab → · Contrast checker → · Palette generator →

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