#5F7523#5F7523

#5F7523 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.110 H 123.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5F7523
RGBrgb(95, 117, 35)
HSLhsl(76, 54%, 30%)
HSVhsv(76, 70%, 46%)
CMYKcmyk(18.8%, 0%, 70.1%, 54.1%)
CIE-LABlab(46.01, -20.82, 40.77)
CIE-LCHlch(46.01, 45.78, 117.05°)
OKLaboklab(52.75% -0.0603 0.0923)
OKLCHoklch(52.75% 0.11 123.2)
XYZxyz(11.3841, 15.2768, 3.9387)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7523 #392375
analogous
#756223 #5F7523 #367523
triadic
#5F7523 #235F75 #75235F
tetradic
#5F7523 #237562 #392375 #752336
square
#5F7523 #237562 #392375 #752336
split-complementary
#5F7523 #233675 #622375
monochromatic
#131807 #394615 #5F7523 #85A431 #A7C94A

Accessibility & contrast

On white

5.18
#5F7523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5F7523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7523
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7523#FFFFFF#000000##FFFFFF
##5F75231.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f7523;
/* rgb */ color: rgb(95, 117, 35);
/* oklch */ color: oklch(52.7% 0.110 123.2);
Tailwind
colors: {
  custom: {
    50: '#8f9c63',
    500: '#5f7523',
    950: '#000000',
  },
}
SCSS
$custom: #5f7523;
$custom-light: #8f9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7523",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 76.098,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.11021,
    "h": 123.2
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#5F7523
secondary
#654CA8
accent
#4ADD72
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7523

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

Preview Lab → · Contrast checker → · Palette generator →

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