#5F660F#5F660F

#5F660F is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.104 H 114.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F660F
RGBrgb(95, 102, 15)
HSLhsl(65, 74%, 23%)
HSVhsv(65, 85%, 40%)
CMYKcmyk(6.9%, 0%, 85.3%, 60%)
CIE-LABlab(41.17, -13.91, 43.61)
CIE-LCHlch(41.17, 45.78, 107.69°)
OKLaboklab(48.81% -0.0431 0.0946)
OKLCHoklch(48.81% 0.104 114.5)
XYZxyz(9.5572, 11.9703, 2.2589)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F660F #160F66
analogous
#66420F #5F660F #33660F
triadic
#5F660F #0F5F66 #660F5F
tetradic
#5F660F #0F6642 #160F66 #660F33
square
#5F660F #0F6642 #160F66 #660F33
split-complementary
#5F660F #0F3366 #420F66
monochromatic
#191B04 #2D3107 #5F660F #919B17 #C2D11F

Accessibility & contrast

On white

6.19
#5F660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F660F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F660F#FFFFFF#000000##FFFFFF
##5F660F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#665F56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f660f;
/* rgb */ color: rgb(95, 102, 15);
/* oklch */ color: oklch(48.8% 0.104 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9157',
    500: '#5f660f',
    950: '#000000',
  },
}
SCSS
$custom: #5f660f;
$custom-light: #8f9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5f660f",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 64.828,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48808,
    "c": 0.10396,
    "h": 114.5
  },
  "luminance": 0.1197
}

Semantic roles & 50–950 ramp

primary
#5F660F
secondary
#3B329F
accent
#37F146
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F660F

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

Preview Lab → · Contrast checker → · Palette generator →

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