#5F6412#5F6412

#5F6412 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.100 H 113.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5F6412
RGBrgb(95, 100, 18)
HSLhsl(64, 69%, 23%)
HSVhsv(64, 82%, 39%)
CMYKcmyk(5%, 0%, 82%, 60.8%)
CIE-LABlab(40.56, -12.68, 42.11)
CIE-LCHlch(40.56, 43.98, 106.76°)
OKLaboklab(48.32% -0.0394 0.092)
OKLCHoklch(48.32% 0.1 113.2)
XYZxyz(9.3860, 11.5911, 2.3150)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6412 #171264
analogous
#644012 #5F6412 #366412
triadic
#5F6412 #125F64 #64125F
tetradic
#5F6412 #126440 #171264 #641236
square
#5F6412 #126440 #171264 #641236
split-complementary
#5F6412 #123664 #401264
monochromatic
#191A05 #2E3009 #5F6412 #90981B #C2CC25

Accessibility & contrast

On white

6.33
#5F6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5F6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6412
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6412#FFFFFF#000000##FFFFFF
##5F64121.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#665D55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6412;
/* rgb */ color: rgb(95, 100, 18);
/* oklch */ color: oklch(48.3% 0.100 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f9058',
    500: '#5f6412',
    950: '#000000',
  },
}
SCSS
$custom: #5f6412;
$custom-light: #8f9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6412",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 63.659,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.10008,
    "h": 113.2
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#5F6412
secondary
#3C369C
accent
#3BEC46
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6412

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

Preview Lab → · Contrast checker → · Palette generator →

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