#5F6E18#5F6E18

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

Color values

HEX#5F6E18
RGBrgb(95, 110, 24)
HSLhsl(70, 64%, 26%)
HSVhsv(70, 78%, 43%)
CMYKcmyk(13.6%, 0%, 78.2%, 56.9%)
CIE-LABlab(43.73, -17.84, 42.93)
CIE-LCHlch(43.73, 46.48, 112.57°)
OKLaboklab(50.88% -0.0531 0.0949)
OKLCHoklch(50.88% 0.109 119.2)
XYZxyz(10.4603, 13.6508, 2.9478)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6E18 #27186E
analogous
#6E5218 #5F6E18 #346E18
triadic
#5F6E18 #185F6E #6E185F
tetradic
#5F6E18 #186E52 #27186E #6E1834
square
#5F6E18 #186E52 #27186E #6E1834
split-complementary
#5F6E18 #18346E #52186E
monochromatic
#161905 #343C0D #5F6E18 #8AA023 #B5D22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6E18#FFFFFF#000000##FFFFFF
##5F6E181.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)
#766705
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#65685E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f6e18;
/* rgb */ color: rgb(95, 110, 24);
/* oklch */ color: oklch(50.9% 0.109 119.2);
Tailwind
colors: {
  custom: {
    50: '#8f975c',
    500: '#5f6e18',
    950: '#000000',
  },
}
SCSS
$custom: #5f6e18;
$custom-light: #8f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6e18",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 70.465,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.5088,
    "c": 0.10874,
    "h": 119.2
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#5F6E18
secondary
#503EA4
accent
#41E75E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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