#5B6819#5B6819

#5B6819 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.0% C 0.102 H 118.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B6819
RGBrgb(91, 104, 25)
HSLhsl(70, 61%, 25%)
HSVhsv(70, 76%, 41%)
CMYKcmyk(12.5%, 0%, 76%, 59.2%)
CIE-LABlab(41.52, -16.39, 40.32)
CIE-LCHlch(41.52, 43.52, 112.13°)
OKLaboklab(49.03% -0.0488 0.0897)
OKLCHoklch(49.03% 0.102 118.5)
XYZxyz(9.4404, 12.1950, 2.7761)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6819 #261968
analogous
#684D19 #5B6819 #346819
triadic
#5B6819 #195B68 #68195B
tetradic
#5B6819 #19684D #261968 #681934
square
#5B6819 #19684D #261968 #681934
split-complementary
#5B6819 #193468 #4D1968
monochromatic
#161906 #30370D #5B6819 #869925 #B1CB31

Accessibility & contrast

On white

6.11
#5B6819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B6819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6819
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6819#FFFFFF#000000##FFFFFF
##5B68191.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620A
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#616259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6819;
/* rgb */ color: rgb(91, 104, 25);
/* oklch */ color: oklch(49.0% 0.102 118.5);
Tailwind
colors: {
  custom: {
    50: '#8c935c',
    500: '#5b6819',
    950: '#000000',
  },
}
SCSS
$custom: #5b6819;
$custom-light: #8c935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6819",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 25
  },
  "hsl": {
    "h": 69.873,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49029,
    "c": 0.10212,
    "h": 118.5
  },
  "luminance": 0.12195
}

Semantic roles & 50–950 ramp

primary
#5B6819
secondary
#4F3F9E
accent
#43E45E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6819

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

Preview Lab → · Contrast checker → · Palette generator →

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