#5F7325#5F7325

#5F7325 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.3% C 0.106 H 122.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F7325
RGBrgb(95, 115, 37)
HSLhsl(75, 51%, 30%)
HSVhsv(75, 68%, 45%)
CMYKcmyk(17.4%, 0%, 67.8%, 54.9%)
CIE-LABlab(45.40, -19.63, 39.25)
CIE-LCHlch(45.40, 43.88, 116.57°)
OKLaboklab(52.26% -0.0568 0.0894)
OKLCHoklch(52.26% 0.106 122.4)
XYZxyz(11.1841, 14.8279, 4.0228)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7325 #392573
analogous
#736025 #5F7325 #387325
triadic
#5F7325 #255F73 #73255F
tetradic
#5F7325 #257360 #392573 #732538
square
#5F7325 #257360 #392573 #732538
split-complementary
#5F7325 #253873 #602573
monochromatic
#131707 #394516 #5F7325 #85A134 #A7C64D

Accessibility & contrast

On white

5.30
#5F7325 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5F7325 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7325
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7325#FFFFFF#000000##FFFFFF
##5F73251.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1B
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#646D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7325;
/* rgb */ color: rgb(95, 115, 37);
/* oklch */ color: oklch(52.3% 0.106 122.4);
Tailwind
colors: {
  custom: {
    50: '#8f9b64',
    500: '#5f7325',
    950: '#000000',
  },
}
SCSS
$custom: #5f7325;
$custom-light: #8f9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7325",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 37
  },
  "hsl": {
    "h": 75.385,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.10588,
    "h": 122.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#5F7325
secondary
#654EA6
accent
#4DDB71
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0D0E06
muted
#7D7E7A

Preview Lab

Preview with #5F7325

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

Preview Lab → · Contrast checker → · Palette generator →

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