#5F6313#5F6313

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

Color values

HEX#5F6313
RGBrgb(95, 99, 19)
HSLhsl(63, 68%, 23%)
HSVhsv(63, 81%, 39%)
CMYKcmyk(4%, 0%, 80.8%, 61.2%)
CIE-LABlab(40.25, -12.07, 41.48)
CIE-LCHlch(40.25, 43.20, 106.23°)
OKLaboklab(48.08% -0.0376 0.0909)
OKLCHoklch(48.08% 0.098 112.5)
XYZxyz(9.2990, 11.4038, 2.3273)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6313 #171363
analogous
#633F13 #5F6313 #376313
triadic
#5F6313 #135F63 #63135F
tetradic
#5F6313 #13633F #171363 #631337
square
#5F6313 #13633F #171363 #631337
split-complementary
#5F6313 #133763 #3F1363
monochromatic
#191A05 #2E3009 #5F6313 #90961D #C2CA27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6313#FFFFFF#000000##FFFFFF
##5F63131.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)
#6B5E01
Deuteranopia (green-blind)
#6B601A
Tritanopia (blue-blind)
#665C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6313;
/* rgb */ color: rgb(95, 99, 19);
/* oklch */ color: oklch(48.1% 0.098 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f58',
    500: '#5f6313',
    950: '#000000',
  },
}
SCSS
$custom: #5f6313;
$custom-light: #8f8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6313",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 63,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4808,
    "c": 0.09835,
    "h": 112.5
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

primary
#5F6313
secondary
#3C379B
accent
#3DEB46
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6313

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

Preview Lab → · Contrast checker → · Palette generator →

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