#5C6918#5C6918

#5C6918 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#5C6918
RGBrgb(92, 105, 24)
HSLhsl(70, 63%, 25%)
HSVhsv(70, 77%, 41%)
CMYKcmyk(12.4%, 0%, 77.1%, 58.8%)
CIE-LABlab(41.91, -16.53, 41.11)
CIE-LCHlch(41.91, 44.31, 111.91°)
OKLaboklab(49.36% -0.0493 0.0912)
OKLCHoklch(49.36% 0.104 118.4)
XYZxyz(9.6303, 12.4445, 2.7587)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6918 #251869
analogous
#694E18 #5C6918 #336918
triadic
#5C6918 #185C69 #69185C
tetradic
#5C6918 #18694E #251869 #691833
square
#5C6918 #18694E #251869 #691833
split-complementary
#5C6918 #183369 #4E1869
monochromatic
#161906 #30370D #5C6918 #889B23 #B3CD2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6918#FFFFFF#000000##FFFFFF
##5C69181.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)
#706308
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6918;
/* rgb */ color: rgb(92, 105, 24);
/* oklch */ color: oklch(49.4% 0.104 118.4);
Tailwind
colors: {
  custom: {
    50: '#8d935c',
    500: '#5c6918',
    950: '#000000',
  },
}
SCSS
$custom: #5c6918;
$custom-light: #8d935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6918",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 69.63,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.10364,
    "h": 118.4
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#5C6918
secondary
#4D3E9F
accent
#42E65C
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6918

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

Preview Lab → · Contrast checker → · Palette generator →

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