#5C6914#5C6914

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

Color values

HEX#5C6914
RGBrgb(92, 105, 20)
HSLhsl(69, 68%, 25%)
HSVhsv(69, 81%, 41%)
CMYKcmyk(12.4%, 0%, 81%, 58.8%)
CIE-LABlab(41.89, -16.74, 42.55)
CIE-LCHlch(41.89, 45.72, 111.48°)
OKLaboklab(49.33% -0.0503 0.0934)
OKLCHoklch(49.33% 0.106 118.3)
XYZxyz(9.5917, 12.4291, 2.5554)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6914 #211469
analogous
#694B14 #5C6914 #326914
triadic
#5C6914 #145C69 #69145C
tetradic
#5C6914 #14694B #211469 #691432
square
#5C6914 #14694B #211469 #691432
split-complementary
#5C6914 #143269 #4B1469
monochromatic
#171A05 #2F360A #5C6914 #899C1E #B6D028

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6914#FFFFFF#000000##FFFFFF
##5C69141.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)
#706300
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#626359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6914;
/* rgb */ color: rgb(92, 105, 20);
/* oklch */ color: oklch(49.3% 0.106 118.3);
Tailwind
colors: {
  custom: {
    50: '#8d935a',
    500: '#5c6914',
    950: '#000000',
  },
}
SCSS
$custom: #5c6914;
$custom-light: #8d935a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6914",
  "rgb": {
    "r": 92,
    "g": 105,
    "b": 20
  },
  "hsl": {
    "h": 69.176,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.1061,
    "h": 118.3
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#5C6914
secondary
#4939A0
accent
#3DEB58
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6914

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

Preview Lab → · Contrast checker → · Palette generator →

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