#5F6213#5F6213

#5F6213 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.8% C 0.097 H 111.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5F6213
RGBrgb(95, 98, 19)
HSLhsl(62, 68%, 23%)
HSVhsv(62, 81%, 38%)
CMYKcmyk(3.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.94, -11.51, 41.20)
CIE-LCHlch(39.94, 42.77, 105.61°)
OKLaboklab(47.83% -0.0361 0.0903)
OKLCHoklch(47.83% 0.097 111.8)
XYZxyz(9.2049, 11.2155, 2.2959)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6213 #161362
analogous
#623D13 #5F6213 #386213
triadic
#5F6213 #135F62 #62135F
tetradic
#5F6213 #13623D #161362 #621338
square
#5F6213 #13623D #161362 #621338
split-complementary
#5F6213 #133862 #3D1362
monochromatic
#191A05 #2D2F09 #5F6213 #91951D #C2C927

Accessibility & contrast

On white

6.48
#5F6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5F6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6213
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6213#FFFFFF#000000##FFFFFF
##5F62131.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D02
Deuteranopia (green-blind)
#6B5F1A
Tritanopia (blue-blind)
#665B53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5f6213;
/* rgb */ color: rgb(95, 98, 19);
/* oklch */ color: oklch(47.8% 0.097 111.8);
Tailwind
colors: {
  custom: {
    50: '#8f8e58',
    500: '#5f6213',
    950: '#000000',
  },
}
SCSS
$custom: #5f6213;
$custom-light: #8f8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6213",
  "rgb": {
    "r": 95,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 62.278,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.09719,
    "h": 111.8
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#5F6213
secondary
#3B379A
accent
#3DEA44
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6213

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

Preview Lab → · Contrast checker → · Palette generator →

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