#5F7723#5F7723

#5F7723 is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.3% C 0.113 H 124.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F7723
RGBrgb(95, 119, 35)
HSLhsl(77, 55%, 30%)
HSVhsv(77, 71%, 47%)
CMYKcmyk(20.2%, 0%, 70.6%, 53.3%)
CIE-LABlab(46.64, -21.85, 41.42)
CIE-LCHlch(46.64, 46.83, 117.82°)
OKLaboklab(53.26% -0.0631 0.0936)
OKLCHoklch(53.26% 0.113 124)
XYZxyz(11.6196, 15.7478, 4.0173)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7723 #3B2377
analogous
#776523 #5F7723 #357723
triadic
#5F7723 #235F77 #77235F
tetradic
#5F7723 #237765 #3B2377 #772335
square
#5F7723 #237765 #3B2377 #772335
split-complementary
#5F7723 #233577 #652377
monochromatic
#131807 #394815 #5F7723 #85A631 #A6CA4A

Accessibility & contrast

On white

5.06
#5F7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5F7723 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7723
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7723#FFFFFF#000000##FFFFFF
##5F77231.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F17
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#647166
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f7723;
/* rgb */ color: rgb(95, 119, 35);
/* oklch */ color: oklch(53.3% 0.113 124.0);
Tailwind
colors: {
  custom: {
    50: '#8f9e63',
    500: '#5f7723',
    950: '#000000',
  },
}
SCSS
$custom: #5f7723;
$custom-light: #8f9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7723",
  "rgb": {
    "r": 95,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 77.143,
    "s": 54.545,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.11293,
    "h": 124
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#5F7723
secondary
#674CAA
accent
#4ADE74
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7723

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

Preview Lab → · Contrast checker → · Palette generator →

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