#5F6D15#5F6D15

#5F6D15 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.6% C 0.109 H 118.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F6D15
RGBrgb(95, 109, 21)
HSLhsl(70, 68%, 25%)
HSVhsv(70, 81%, 43%)
CMYKcmyk(12.8%, 0%, 80.7%, 57.3%)
CIE-LABlab(43.40, -17.46, 43.68)
CIE-LCHlch(43.40, 47.04, 111.78°)
OKLaboklab(50.61% -0.0523 0.0959)
OKLCHoklch(50.61% 0.109 118.6)
XYZxyz(10.3235, 13.4244, 2.7566)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6D15 #23156D
analogous
#6D4F15 #5F6D15 #336D15
triadic
#5F6D15 #155F6D #6D155F
tetradic
#5F6D15 #156D4F #23156D #6D1533
square
#5F6D15 #156D4F #23156D #6D1533
split-complementary
#5F6D15 #15336D #4F156D
monochromatic
#161A05 #323A0B #5F6D15 #8CA01F #B8D429

Accessibility & contrast

On white

5.70
#5F6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6D15
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6D15#FFFFFF#000000##FFFFFF
##5F6D151.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#65675D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f6d15;
/* rgb */ color: rgb(95, 109, 21);
/* oklch */ color: oklch(50.6% 0.109 118.6);
Tailwind
colors: {
  custom: {
    50: '#8f965b',
    500: '#5f6d15',
    950: '#000000',
  },
}
SCSS
$custom: #5f6d15;
$custom-light: #8f965b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6d15",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 69.545,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50607,
    "c": 0.10926,
    "h": 118.6
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#5F6D15
secondary
#4B3AA3
accent
#3DEB59
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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