#5F751C#5F751C

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

Color values

HEX#5F751C
RGBrgb(95, 117, 28)
HSLhsl(75, 61%, 28%)
HSVhsv(75, 76%, 46%)
CMYKcmyk(18.8%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.96, -21.28, 43.57)
CIE-LCHlch(45.96, 48.49, 116.03°)
OKLaboklab(52.69% -0.0622 0.097)
OKLCHoklch(52.69% 0.115 122.7)
XYZxyz(11.2904, 15.2393, 3.4451)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F751C #321C75
analogous
#755E1C #5F751C #33751C
triadic
#5F751C #1C5F75 #751C5F
tetradic
#5F751C #1C755E #321C75 #751C33
square
#5F751C #1C755E #321C75 #751C33
split-complementary
#5F751C #1C3375 #5E1C75
monochromatic
#141906 #374410 #5F751C #87A628 #ABD03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F751C#FFFFFF#000000##FFFFFF
##5F751C1.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)
#7C6D0B
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#646F64
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f751c;
/* rgb */ color: rgb(95, 117, 28);
/* oklch */ color: oklch(52.7% 0.115 122.7);
Tailwind
colors: {
  custom: {
    50: '#8f9c5f',
    500: '#5f751c',
    950: '#000000',
  },
}
SCSS
$custom: #5f751c;
$custom-light: #8f9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f751c",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 74.831,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.11521,
    "h": 122.7
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#5F751C
secondary
#5D44A9
accent
#43E46B
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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