#5F6115#5F6115

#5F6115 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#5F6115
RGBrgb(95, 97, 21)
HSLhsl(62, 64%, 23%)
HSVhsv(62, 78%, 38%)
CMYKcmyk(2.1%, 0%, 78.4%, 62%)
CIE-LABlab(39.64, -10.85, 40.18)
CIE-LCHlch(39.64, 41.62, 105.11°)
OKLaboklab(47.6% -0.034 0.0885)
OKLCHoklch(47.6% 0.095 111)
XYZxyz(9.1297, 11.0367, 2.3587)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6115 #171561
analogous
#613D15 #5F6115 #396115
triadic
#5F6115 #155F61 #61155F
tetradic
#5F6115 #15613D #171561 #611539
square
#5F6115 #15613D #171561 #611539
split-complementary
#5F6115 #153961 #3D1561
monochromatic
#191905 #2E2F0A #5F6115 #909320 #C2C62B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F6115#FFFFFF#000000##FFFFFF
##5F61151.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)
#695C06
Deuteranopia (green-blind)
#6A5E1B
Tritanopia (blue-blind)
#665A53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6115;
/* rgb */ color: rgb(95, 97, 21);
/* oklch */ color: oklch(47.6% 0.095 111.0);
Tailwind
colors: {
  custom: {
    50: '#8f8d59',
    500: '#5f6115',
    950: '#000000',
  },
}
SCSS
$custom: #5f6115;
$custom-light: #8f8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6115",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 61.579,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.09482,
    "h": 111
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#5F6115
secondary
#3C3A98
accent
#40E745
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6115

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

Preview Lab → · Contrast checker → · Palette generator →

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