#5F6A14#5F6A14

#5F6A14 is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 49.8% C 0.106 H 117.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F6A14
RGBrgb(95, 106, 20)
HSLhsl(68, 68%, 25%)
HSVhsv(68, 81%, 42%)
CMYKcmyk(10.4%, 0%, 81.1%, 58.4%)
CIE-LABlab(42.45, -15.89, 43.15)
CIE-LCHlch(42.45, 45.98, 110.21°)
OKLaboklab(49.84% -0.0481 0.0946)
OKLCHoklch(49.84% 0.106 117)
XYZxyz(9.9999, 12.7916, 2.6039)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6A14 #1F146A
analogous
#6A4A14 #5F6A14 #346A14
triadic
#5F6A14 #145F6A #6A145F
tetradic
#5F6A14 #146A4A #1F146A #6A1434
square
#5F6A14 #146A4A #1F146A #6A1434
split-complementary
#5F6A14 #14346A #4A146A
monochromatic
#171A05 #31370A #5F6A14 #8D9D1E #BBD127

Accessibility & contrast

On white

5.90
#5F6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6A14
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6A14#FFFFFF#000000##FFFFFF
##5F6A141.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#65645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f6a14;
/* rgb */ color: rgb(95, 106, 20);
/* oklch */ color: oklch(49.8% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#8f945a',
    500: '#5f6a14',
    950: '#000000',
  },
}
SCSS
$custom: #5f6a14;
$custom-light: #8f945a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6a14",
  "rgb": {
    "r": 95,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 67.674,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.10613,
    "h": 117
  },
  "luminance": 0.12791
}

Semantic roles & 50–950 ramp

primary
#5F6A14
secondary
#4639A1
accent
#3DEB53
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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