#5F6F12#5F6F12

#5F6F12 is a mid, moderate yellow-green. Relative luminance 0.138; OKLCH L 51.1% C 0.113 H 119.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F6F12
RGBrgb(95, 111, 18)
HSLhsl(70, 72%, 25%)
HSVhsv(70, 84%, 44%)
CMYKcmyk(14.4%, 0%, 83.8%, 56.5%)
CIE-LABlab(44.01, -18.65, 45.21)
CIE-LCHlch(44.01, 48.91, 112.42°)
OKLaboklab(51.1% -0.0559 0.0986)
OKLCHoklch(51.1% 0.113 119.5)
XYZxyz(10.5132, 13.8455, 2.6908)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6F12 #22126F
analogous
#6F5112 #5F6F12 #306F12
triadic
#5F6F12 #125F6F #6F125F
tetradic
#5F6F12 #126F51 #22126F #6F1230
square
#5F6F12 #126F51 #22126F #6F1230
split-complementary
#5F6F12 #12306F #51126F
monochromatic
#171A04 #323A09 #5F6F12 #8CA41B #B9D823

Accessibility & contrast

On white

5.57
#5F6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6F12
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6F12#FFFFFF#000000##FFFFFF
##5F6F121.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#65695E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f6f12;
/* rgb */ color: rgb(95, 111, 18);
/* oklch */ color: oklch(51.1% 0.113 119.5);
Tailwind
colors: {
  custom: {
    50: '#8f985a',
    500: '#5f6f12',
    950: '#000000',
  },
}
SCSS
$custom: #5f6f12;
$custom-light: #8f985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6f12",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 70.323,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.51098,
    "c": 0.11333,
    "h": 119.5
  },
  "luminance": 0.13845
}

Semantic roles & 50–950 ramp

primary
#5F6F12
secondary
#4A37A6
accent
#39EF58
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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