#5F5814#5F5814

#5F5814 is a mid, moderate yellow. Relative luminance 0.095; OKLCH L 45.4% C 0.086 H 103.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5F5814
RGBrgb(95, 88, 20)
HSLhsl(54, 65%, 23%)
HSVhsv(54, 79%, 37%)
CMYKcmyk(0%, 7.4%, 78.9%, 62.7%)
CIE-LABlab(36.86, -5.70, 37.94)
CIE-LCHlch(36.86, 38.37, 98.55°)
OKLaboklab(45.38% -0.0197 0.0836)
OKLCHoklch(45.38% 0.086 103.3)
XYZxyz(8.3357, 9.4632, 2.0492)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5814 #141B5F
analogous
#5F3214 #5F5814 #405F14
triadic
#5F5814 #145F58 #58145F
tetradic
#5F5814 #145F32 #141B5F #5F1440
square
#5F5814 #145F32 #141B5F #5F1440
split-complementary
#5F5814 #14405F #32145F
monochromatic
#191705 #2C2909 #5F5814 #92871F #C4B629

Accessibility & contrast

On white

7.26
#5F5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5F5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5814
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5814#FFFFFF#000000##FFFFFF
##5F58141.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f5814;
/* rgb */ color: rgb(95, 88, 20);
/* oklch */ color: oklch(45.4% 0.086 103.3);
Tailwind
colors: {
  custom: {
    50: '#8f8657',
    500: '#5f5814',
    950: '#000000',
  },
}
SCSS
$custom: #5f5814;
$custom-light: #8f8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5814",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 54.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.08585,
    "h": 103.3
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#5F5814
secondary
#384197
accent
#4FE840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5814

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

Preview Lab → · Contrast checker → · Palette generator →

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