#5C6916#5C6916

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

Color values

HEX#5C6916
RGBrgb(92, 105, 22)
HSLhsl(69, 65%, 25%)
HSVhsv(69, 79%, 41%)
CMYKcmyk(12.4%, 0%, 79%, 58.8%)
CIE-LABlab(41.90, -16.64, 41.85)
CIE-LCHlch(41.90, 45.04, 111.69°)
OKLaboklab(49.35% -0.0498 0.0923)
OKLCHoklch(49.35% 0.105 118.4)
XYZxyz(9.6102, 12.4365, 2.6531)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6916 #231669
analogous
#694D16 #5C6916 #326916
triadic
#5C6916 #165C69 #69165C
tetradic
#5C6916 #16694D #231669 #691632
square
#5C6916 #16694D #231669 #691632
split-complementary
#5C6916 #163269 #4D1669
monochromatic
#161905 #30360B #5C6916 #889C21 #B5CE2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6916#FFFFFF#000000##FFFFFF
##5C69161.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)
#706304
Deuteranopia (green-blind)
#6F631D
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6916;
/* rgb */ color: rgb(92, 105, 22);
/* oklch */ color: oklch(49.3% 0.105 118.4);
Tailwind
colors: {
  custom: {
    50: '#8d935b',
    500: '#5c6916',
    950: '#000000',
  },
}
SCSS
$custom: #5c6916;
$custom-light: #8d935b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6916",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 69.398,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.10491,
    "h": 118.4
  },
  "luminance": 0.12436
}

Semantic roles & 50–950 ramp

primary
#5C6916
secondary
#4B3B9F
accent
#3FE85A
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6916

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

Preview Lab → · Contrast checker → · Palette generator →

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