#5F8223#5F8223

#5F8223 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.1% C 0.128 H 127.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5F8223
RGBrgb(95, 130, 35)
HSLhsl(82, 58%, 32%)
HSVhsv(82, 73%, 51%)
CMYKcmyk(26.9%, 0%, 73.1%, 49%)
CIE-LABlab(50.12, -27.35, 44.96)
CIE-LCHlch(50.12, 52.62, 121.31°)
OKLaboklab(56.07% -0.0782 0.1011)
OKLCHoklch(56.07% 0.128 127.7)
XYZxyz(13.0053, 18.5192, 4.4792)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8223 #462382
analogous
#827523 #5F8223 #308223
triadic
#5F8223 #235F82 #82235F
tetradic
#5F8223 #238275 #462382 #822330
square
#5F8223 #238275 #462382 #822330
split-complementary
#5F8223 #233082 #752382
monochromatic
#192209 #3C5216 #5F8223 #82B230 #A1D050

Accessibility & contrast

On white

4.46
#5F8223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5F8223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8223
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8223#FFFFFF#000000##000000
##5F82231.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897913
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#637C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f8223;
/* rgb */ color: rgb(95, 130, 35);
/* oklch */ color: oklch(56.1% 0.128 127.7);
Tailwind
colors: {
  custom: {
    50: '#90a664',
    500: '#5f8223',
    950: '#000000',
  },
}
SCSS
$custom: #5f8223;
$custom-light: #90a664;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8223",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 82.105,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.12779,
    "h": 127.7
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#5F8223
secondary
#734DB3
accent
#47E180
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5F8223

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

Preview Lab → · Contrast checker → · Palette generator →

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