#5F6D11#5F6D11

#5F6D11 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.111 H 118.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F6D11
RGBrgb(95, 109, 17)
HSLhsl(69, 73%, 25%)
HSVhsv(69, 84%, 43%)
CMYKcmyk(12.8%, 0%, 84.4%, 57.3%)
CIE-LABlab(43.38, -17.63, 44.95)
CIE-LCHlch(43.38, 48.29, 111.42°)
OKLaboklab(50.59% -0.0531 0.0979)
OKLCHoklch(50.59% 0.111 118.5)
XYZxyz(10.2894, 13.4107, 2.5767)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6D11 #1F116D
analogous
#6D4D11 #5F6D11 #316D11
triadic
#5F6D11 #115F6D #6D115F
tetradic
#5F6D11 #116D4D #1F116D #6D1131
square
#5F6D11 #116D4D #1F116D #6D1131
split-complementary
#5F6D11 #11316D #4D116D
monochromatic
#171A04 #313809 #5F6D11 #8DA219 #BBD722

Accessibility & contrast

On white

5.70
#5F6D11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F6D11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6D11
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6D11#FFFFFF#000000##FFFFFF
##5F6D111.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#65665C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6d11;
/* rgb */ color: rgb(95, 109, 17);
/* oklch */ color: oklch(50.6% 0.111 118.5);
Tailwind
colors: {
  custom: {
    50: '#8f9659',
    500: '#5f6d11',
    950: '#000000',
  },
}
SCSS
$custom: #5f6d11;
$custom-light: #8f9659;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6d11",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 17
  },
  "hsl": {
    "h": 69.13,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.11136,
    "h": 118.5
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#5F6D11
secondary
#4635A5
accent
#38F054
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6D11

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

Preview Lab → · Contrast checker → · Palette generator →

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