#5B6914#5B6914

#5B6914 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.2% C 0.107 H 118.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5B6914
RGBrgb(91, 105, 20)
HSLhsl(70, 68%, 25%)
HSVhsv(70, 81%, 41%)
CMYKcmyk(13.3%, 0%, 81%, 58.8%)
CIE-LABlab(41.81, -17.20, 42.45)
CIE-LCHlch(41.81, 45.80, 112.06°)
OKLaboklab(49.25% -0.0515 0.0933)
OKLCHoklch(49.25% 0.107 118.9)
XYZxyz(9.4924, 12.3779, 2.5508)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6914 #221469
analogous
#694D14 #5B6914 #316914
triadic
#5B6914 #145B69 #69145B
tetradic
#5B6914 #14694D #221469 #691431
square
#5B6914 #14694D #221469 #691431
split-complementary
#5B6914 #143169 #4D1469
monochromatic
#161A05 #2E360A #5B6914 #889C1E #B4D028

Accessibility & contrast

On white

6.04
#5B6914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5B6914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6914
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6914#FFFFFF#000000##FFFFFF
##5B69141.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706301
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#616359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6914;
/* rgb */ color: rgb(91, 105, 20);
/* oklch */ color: oklch(49.2% 0.107 118.9);
Tailwind
colors: {
  custom: {
    50: '#8c935a',
    500: '#5b6914',
    950: '#000000',
  },
}
SCSS
$custom: #5b6914;
$custom-light: #8c935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6914",
  "rgb": {
    "r": 91,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 69.882,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.10652,
    "h": 118.9
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#5B6914
secondary
#4A39A0
accent
#3DEB5A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6914

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

Preview Lab → · Contrast checker → · Palette generator →

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