#5C6810#5C6810

#5C6810 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.107 H 117.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5C6810
RGBrgb(92, 104, 16)
HSLhsl(68, 73%, 24%)
HSVhsv(68, 85%, 41%)
CMYKcmyk(11.5%, 0%, 84.6%, 59.2%)
CIE-LABlab(41.55, -16.38, 43.55)
CIE-LCHlch(41.55, 46.53, 110.61°)
OKLaboklab(49.06% -0.0496 0.0948)
OKLCHoklch(49.06% 0.107 117.6)
XYZxyz(9.4577, 12.2135, 2.3493)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6810 #1C1068
analogous
#684810 #5C6810 #306810
triadic
#5C6810 #105C68 #68105C
tetradic
#5C6810 #106848 #1C1068 #681030
square
#5C6810 #106848 #1C1068 #681030
split-complementary
#5C6810 #103068 #481068
monochromatic
#171B04 #2D3308 #5C6810 #8B9D18 #BAD220

Accessibility & contrast

On white

6.10
#5C6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5C6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6810
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6810#FFFFFF#000000##FFFFFF
##5C68101.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#626258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c6810;
/* rgb */ color: rgb(92, 104, 16);
/* oklch */ color: oklch(49.1% 0.107 117.6);
Tailwind
colors: {
  custom: {
    50: '#8d9358',
    500: '#5c6810',
    950: '#000000',
  },
}
SCSS
$custom: #5c6810;
$custom-light: #8d9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6810",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 68.182,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.107,
    "h": 117.6
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#5C6810
secondary
#4234A0
accent
#38F051
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6810

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

Preview Lab → · Contrast checker → · Palette generator →

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