#5F6318#5F6318

#5F6318 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.1% C 0.095 H 112.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5F6318
RGBrgb(95, 99, 24)
HSLhsl(63, 61%, 24%)
HSVhsv(63, 76%, 39%)
CMYKcmyk(4%, 0%, 75.8%, 61.2%)
CIE-LABlab(40.28, -11.82, 39.62)
CIE-LCHlch(40.28, 41.35, 106.61°)
OKLaboklab(48.11% -0.0364 0.0879)
OKLCHoklch(48.11% 0.095 112.5)
XYZxyz(9.3463, 11.4227, 2.5764)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6318 #1C1863
analogous
#634218 #5F6318 #3A6318
triadic
#5F6318 #185F63 #63185F
tetradic
#5F6318 #186342 #1C1863 #63183A
square
#5F6318 #186342 #1C1863 #63183A
split-complementary
#5F6318 #183A63 #421863
monochromatic
#181906 #30320C #5F6318 #8E9424 #BEC630

Accessibility & contrast

On white

6.39
#5F6318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5F6318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6318
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6318#FFFFFF#000000##FFFFFF
##5F63181.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0A
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#665D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6318;
/* rgb */ color: rgb(95, 99, 24);
/* oklch */ color: oklch(48.1% 0.095 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f5b',
    500: '#5f6318',
    950: '#000000',
  },
}
SCSS
$custom: #5f6318;
$custom-light: #8f8f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6318",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 63.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.48114,
    "c": 0.09516,
    "h": 112.5
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#5F6318
secondary
#423E99
accent
#44E44C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6318

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

Preview Lab → · Contrast checker → · Palette generator →

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