#5F6314#5F6314

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

Color values

HEX#5F6314
RGBrgb(95, 99, 20)
HSLhsl(63, 66%, 23%)
HSVhsv(63, 80%, 39%)
CMYKcmyk(4%, 0%, 79.8%, 61.2%)
CIE-LABlab(40.26, -12.03, 41.13)
CIE-LCHlch(40.26, 42.85, 106.30°)
OKLaboklab(48.09% -0.0374 0.0903)
OKLCHoklch(48.09% 0.098 112.5)
XYZxyz(9.3077, 11.4073, 2.3732)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6314 #181463
analogous
#633F14 #5F6314 #376314
triadic
#5F6314 #145F63 #63145F
tetradic
#5F6314 #14633F #181463 #631437
square
#5F6314 #14633F #181463 #631437
split-complementary
#5F6314 #143763 #3F1463
monochromatic
#181905 #2E300A #5F6314 #90961E #C1C929

Accessibility & contrast

On white

6.40
#5F6314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F6314
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6314#FFFFFF#000000##FFFFFF
##5F63141.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E03
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#665C54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6314;
/* rgb */ color: rgb(95, 99, 20);
/* oklch */ color: oklch(48.1% 0.098 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8f59',
    500: '#5f6314',
    950: '#000000',
  },
}
SCSS
$custom: #5f6314;
$custom-light: #8f8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6314",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 63.038,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.09776,
    "h": 112.5
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#5F6314
secondary
#3D389A
accent
#3EE947
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6314

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

Preview Lab → · Contrast checker → · Palette generator →

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