#5F6E1A#5F6E1A

#5F6E1A is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.9% C 0.107 H 119.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F6E1A
RGBrgb(95, 110, 26)
HSLhsl(71, 62%, 27%)
HSVhsv(71, 76%, 43%)
CMYKcmyk(13.6%, 0%, 76.4%, 56.9%)
CIE-LABlab(43.74, -17.73, 42.19)
CIE-LCHlch(43.74, 45.76, 112.79°)
OKLaboklab(50.89% -0.0526 0.0937)
OKLCHoklch(50.89% 0.107 119.3)
XYZxyz(10.4819, 13.6594, 3.0614)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6E1A #291A6E
analogous
#6E531A #5F6E1A #356E1A
triadic
#5F6E1A #1A5F6E #6E1A5F
tetradic
#5F6E1A #1A6E53 #291A6E #6E1A35
square
#5F6E1A #1A6E53 #291A6E #6E1A35
split-complementary
#5F6E1A #1A356E #531A6E
monochromatic
#151906 #343D0E #5F6E1A #8AA026 #B3CF34

Accessibility & contrast

On white

5.63
#5F6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6E1A
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6E1A#FFFFFF#000000##FFFFFF
##5F6E1A1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670A
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#65685E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f6e1a;
/* rgb */ color: rgb(95, 110, 26);
/* oklch */ color: oklch(50.9% 0.107 119.3);
Tailwind
colors: {
  custom: {
    50: '#8f975d',
    500: '#5f6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #5f6e1a;
$custom-light: #8f975d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6e1a",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 70.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.10746,
    "h": 119.3
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#5F6E1A
secondary
#5241A3
accent
#43E560
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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