#5F6114#5F6114

#5F6114 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.095 H 111.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5F6114
RGBrgb(95, 97, 20)
HSLhsl(62, 66%, 23%)
HSVhsv(62, 79%, 38%)
CMYKcmyk(2.1%, 0%, 79.4%, 62%)
CIE-LABlab(39.64, -10.90, 40.55)
CIE-LCHlch(39.64, 41.99, 105.05°)
OKLaboklab(47.59% -0.0343 0.0891)
OKLCHoklch(47.59% 0.095 111)
XYZxyz(9.1206, 11.0330, 2.3108)
Luminance0.1103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6114 #161461
analogous
#613C14 #5F6114 #396114
triadic
#5F6114 #145F61 #61145F
tetradic
#5F6114 #14613C #161461 #611439
square
#5F6114 #14613C #161461 #611439
split-complementary
#5F6114 #143961 #3C1461
monochromatic
#191905 #2D2E0A #5F6114 #91941E #C2C629

Accessibility & contrast

On white

6.55
#5F6114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5F6114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6114
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6114#FFFFFF#000000##FFFFFF
##5F61141.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C04
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#665A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6114;
/* rgb */ color: rgb(95, 97, 20);
/* oklch */ color: oklch(47.6% 0.095 111.0);
Tailwind
colors: {
  custom: {
    50: '#8f8d59',
    500: '#5f6114',
    950: '#000000',
  },
}
SCSS
$custom: #5f6114;
$custom-light: #8f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6114",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 61.558,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.09545,
    "h": 111
  },
  "luminance": 0.11033
}

Semantic roles & 50–950 ramp

primary
#5F6114
secondary
#3B3898
accent
#3FE943
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6114

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

Preview Lab → · Contrast checker → · Palette generator →

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