#5F6913#5F6913

#5F6913 is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.6% C 0.105 H 116.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5F6913
RGBrgb(95, 105, 19)
HSLhsl(67, 69%, 24%)
HSVhsv(67, 82%, 41%)
CMYKcmyk(9.5%, 0%, 81.9%, 58.8%)
CIE-LABlab(42.13, -15.39, 43.20)
CIE-LCHlch(42.13, 45.86, 109.61°)
OKLaboklab(49.59% -0.0468 0.0945)
OKLCHoklch(49.59% 0.105 116.4)
XYZxyz(9.8887, 12.5832, 2.5238)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6913 #1D1369
analogous
#694813 #5F6913 #346913
triadic
#5F6913 #135F69 #69135F
tetradic
#5F6913 #136948 #1D1369 #691334
square
#5F6913 #136948 #1D1369 #691334
split-complementary
#5F6913 #133469 #481369
monochromatic
#171A05 #30350A #5F6913 #8E9D1C #BDD126

Accessibility & contrast

On white

5.97
#5F6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5F6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6913
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6913#FFFFFF#000000##FFFFFF
##5F69131.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#666359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f6913;
/* rgb */ color: rgb(95, 105, 19);
/* oklch */ color: oklch(49.6% 0.105 116.4);
Tailwind
colors: {
  custom: {
    50: '#8f9359',
    500: '#5f6913',
    950: '#000000',
  },
}
SCSS
$custom: #5f6913;
$custom-light: #8f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6913",
  "rgb": {
    "r": 95,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 66.977,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.10546,
    "h": 116.4
  },
  "luminance": 0.12583
}

Semantic roles & 50–950 ramp

primary
#5F6913
secondary
#4438A0
accent
#3CEC50
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6913

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

Preview Lab → · Contrast checker → · Palette generator →

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