#5C6A0F#5C6A0F

#5C6A0F is a mid, moderate yellow. Relative luminance 0.126; OKLCH L 49.6% C 0.110 H 118.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5C6A0F
RGBrgb(92, 106, 15)
HSLhsl(69, 75%, 24%)
HSVhsv(69, 86%, 42%)
CMYKcmyk(13.2%, 0%, 85.8%, 58.4%)
CIE-LABlab(42.18, -17.49, 44.40)
CIE-LCHlch(42.18, 47.72, 111.50°)
OKLaboklab(49.56% -0.0527 0.0964)
OKLCHoklch(49.56% 0.11 118.7)
XYZxyz(9.6541, 12.6179, 2.3788)
Luminance0.1262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6A0F #1D0F6A
analogous
#6A4A0F #5C6A0F #2E6A0F
triadic
#5C6A0F #0F5C6A #6A0F5C
tetradic
#5C6A0F #0F6A4A #1D0F6A #6A0F2E
square
#5C6A0F #0F6A4A #1D0F6A #6A0F2E
split-complementary
#5C6A0F #0F2E6A #4A0F6A
monochromatic
#171B04 #2D3407 #5C6A0F #8BA017 #B9D51E

Accessibility & contrast

On white

5.96
#5C6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5C6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6A0F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6A0F#FFFFFF#000000##FFFFFF
##5C6A0F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#62645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c6a0f;
/* rgb */ color: rgb(92, 106, 15);
/* oklch */ color: oklch(49.6% 0.110 118.7);
Tailwind
colors: {
  custom: {
    50: '#8d9458',
    500: '#5c6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c6a0f;
$custom-light: #8d9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6a0f",
  "rgb": {
    "r": 92,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 69.231,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.10992,
    "h": 118.7
  },
  "luminance": 0.12618
}

Semantic roles & 50–950 ramp

primary
#5C6A0F
secondary
#4432A2
accent
#36F253
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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