#5F6311#5F6311

#5F6311 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.099 H 112.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F6311
RGBrgb(95, 99, 17)
HSLhsl(63, 71%, 23%)
HSVhsv(63, 83%, 39%)
CMYKcmyk(4%, 0%, 82.8%, 61.2%)
CIE-LABlab(40.24, -12.16, 42.16)
CIE-LCHlch(40.24, 43.88, 106.09°)
OKLaboklab(48.07% -0.0381 0.0919)
OKLCHoklch(48.07% 0.099 112.5)
XYZxyz(9.2826, 11.3973, 2.2411)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6311 #151163
analogous
#633E11 #5F6311 #366311
triadic
#5F6311 #115F63 #63115F
tetradic
#5F6311 #11633E #151163 #631136
square
#5F6311 #11633E #151163 #631136
split-complementary
#5F6311 #113663 #3E1163
monochromatic
#191A04 #2D2F08 #5F6311 #91971A #C3CB23

Accessibility & contrast

On white

6.40
#5F6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5F6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6311
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6311#FFFFFF#000000##FFFFFF
##5F63111.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6B6019
Tritanopia (blue-blind)
#665C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6311;
/* rgb */ color: rgb(95, 99, 17);
/* oklch */ color: oklch(48.1% 0.099 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f57',
    500: '#5f6311',
    950: '#000000',
  },
}
SCSS
$custom: #5f6311;
$custom-light: #8f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6311",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 62.927,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.09947,
    "h": 112.5
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#5F6311
secondary
#3A349B
accent
#3AED43
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F6311

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

Preview Lab → · Contrast checker → · Palette generator →

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