#5C6913#5C6913

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

Color values

HEX#5C6913
RGBrgb(92, 105, 19)
HSLhsl(69, 69%, 24%)
HSVhsv(69, 82%, 41%)
CMYKcmyk(12.4%, 0%, 81.9%, 58.8%)
CIE-LABlab(41.88, -16.79, 42.88)
CIE-LCHlch(41.88, 46.05, 111.38°)
OKLaboklab(49.33% -0.0505 0.094)
OKLCHoklch(49.33% 0.107 118.3)
XYZxyz(9.5830, 12.4256, 2.5095)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6913 #201369
analogous
#694B13 #5C6913 #316913
triadic
#5C6913 #135C69 #69135C
tetradic
#5C6913 #13694B #201369 #691331
square
#5C6913 #13694B #201369 #691331
split-complementary
#5C6913 #133169 #4B1369
monochromatic
#171A05 #2F350A #5C6913 #899D1C #B7D126

Accessibility & contrast

On white

6.03
#5C6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5C6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6913
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6913#FFFFFF#000000##FFFFFF
##5C69131.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#6F631B
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6913;
/* rgb */ color: rgb(92, 105, 19);
/* oklch */ color: oklch(49.3% 0.107 118.3);
Tailwind
colors: {
  custom: {
    50: '#8d9359',
    500: '#5c6913',
    950: '#000000',
  },
}
SCSS
$custom: #5c6913;
$custom-light: #8d9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6913",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 69.07,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.10666,
    "h": 118.3
  },
  "luminance": 0.12425
}

Semantic roles & 50–950 ramp

primary
#5C6913
secondary
#4738A0
accent
#3CEC56
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6913

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

Preview Lab → · Contrast checker → · Palette generator →

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