#5F7623#5F7623

#5F7623 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 53.0% C 0.112 H 123.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5F7623
RGBrgb(95, 118, 35)
HSLhsl(77, 54%, 30%)
HSVhsv(77, 70%, 46%)
CMYKcmyk(19.5%, 0%, 70.3%, 53.7%)
CIE-LABlab(46.33, -21.34, 41.10)
CIE-LCHlch(46.33, 46.31, 117.44°)
OKLaboklab(53% -0.0617 0.0929)
OKLCHoklch(53% 0.112 123.6)
XYZxyz(11.5012, 15.5110, 3.9778)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7623 #3A2376
analogous
#766423 #5F7623 #357623
triadic
#5F7623 #235F76 #76235F
tetradic
#5F7623 #237664 #3A2376 #762335
square
#5F7623 #237664 #3A2376 #762335
split-complementary
#5F7623 #233576 #642376
monochromatic
#131807 #394715 #5F7623 #85A531 #A6C94A

Accessibility & contrast

On white

5.12
#5F7623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5F7623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7623
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7623#FFFFFF#000000##FFFFFF
##5F76231.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E17
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#647065
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7623;
/* rgb */ color: rgb(95, 118, 35);
/* oklch */ color: oklch(53.0% 0.112 123.6);
Tailwind
colors: {
  custom: {
    50: '#8f9d63',
    500: '#5f7623',
    950: '#000000',
  },
}
SCSS
$custom: #5f7623;
$custom-light: #8f9d63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7623",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 76.627,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.53001,
    "c": 0.11157,
    "h": 123.6
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#5F7623
secondary
#664CA9
accent
#4ADE73
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #5F7623

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

Preview Lab → · Contrast checker → · Palette generator →

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