#5F6418#5F6418

#5F6418 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.4% C 0.096 H 113.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5F6418
RGBrgb(95, 100, 24)
HSLhsl(64, 61%, 24%)
HSVhsv(64, 76%, 39%)
CMYKcmyk(5%, 0%, 76%, 60.8%)
CIE-LABlab(40.59, -12.38, 39.92)
CIE-LCHlch(40.59, 41.80, 107.23°)
OKLaboklab(48.36% -0.038 0.0886)
OKLCHoklch(48.36% 0.096 113.2)
XYZxyz(9.4416, 11.6134, 2.6082)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6418 #1D1864
analogous
#644318 #5F6418 #396418
triadic
#5F6418 #185F64 #64185F
tetradic
#5F6418 #186443 #1D1864 #641839
square
#5F6418 #186443 #1D1864 #641839
split-complementary
#5F6418 #183964 #431864
monochromatic
#171906 #30330C #5F6418 #8E9524 #BDC730

Accessibility & contrast

On white

6.32
#5F6418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5F6418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6418
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6418#FFFFFF#000000##FFFFFF
##5F64181.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0A
Deuteranopia (green-blind)
#6C601E
Tritanopia (blue-blind)
#665E55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f6418;
/* rgb */ color: rgb(95, 100, 24);
/* oklch */ color: oklch(48.4% 0.096 113.2);
Tailwind
colors: {
  custom: {
    50: '#8f905b',
    500: '#5f6418',
    950: '#000000',
  },
}
SCSS
$custom: #5f6418;
$custom-light: #8f905b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6418",
  "rgb": {
    "r": 95,
    "g": 100,
    "b": 24
  },
  "hsl": {
    "h": 63.947,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48364,
    "c": 0.09636,
    "h": 113.2
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#5F6418
secondary
#443E9A
accent
#43E44E
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6418

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

Preview Lab → · Contrast checker → · Palette generator →

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