#5C6917#5C6917

#5C6917 is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.4% C 0.104 H 118.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5C6917
RGBrgb(92, 105, 23)
HSLhsl(70, 64%, 25%)
HSVhsv(70, 78%, 41%)
CMYKcmyk(12.4%, 0%, 78.1%, 58.8%)
CIE-LABlab(41.91, -16.59, 41.48)
CIE-LCHlch(41.91, 44.68, 111.79°)
OKLaboklab(49.35% -0.0496 0.0918)
OKLCHoklch(49.35% 0.104 118.4)
XYZxyz(9.6201, 12.4404, 2.7049)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6917 #241769
analogous
#694D17 #5C6917 #336917
triadic
#5C6917 #175C69 #69175C
tetradic
#5C6917 #17694D #241769 #691733
square
#5C6917 #17694D #241769 #691733
split-complementary
#5C6917 #173369 #4D1769
monochromatic
#161905 #30370C #5C6917 #889B22 #B4CD2D

Accessibility & contrast

On white

6.02
#5C6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C6917
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6917#FFFFFF#000000##FFFFFF
##5C69171.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c6917;
/* rgb */ color: rgb(92, 105, 23);
/* oklch */ color: oklch(49.4% 0.104 118.4);
Tailwind
colors: {
  custom: {
    50: '#8d935b',
    500: '#5c6917',
    950: '#000000',
  },
}
SCSS
$custom: #5c6917;
$custom-light: #8d935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6917",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 69.512,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49353,
    "c": 0.10429,
    "h": 118.4
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

primary
#5C6917
secondary
#4C3D9F
accent
#41E75B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6917

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

Preview Lab → · Contrast checker → · Palette generator →

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