#555C12#555C12

#555C12 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.094 H 115.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#555C12
RGBrgb(85, 92, 18)
HSLhsl(66, 67%, 22%)
HSVhsv(66, 80%, 36%)
CMYKcmyk(7.6%, 0%, 80.4%, 63.9%)
CIE-LABlab(37.17, -12.99, 38.67)
CIE-LCHlch(37.17, 40.79, 108.56°)
OKLaboklab(45.39% -0.0397 0.0851)
OKLCHoklch(45.39% 0.094 115)
XYZxyz(7.6829, 9.6294, 2.0261)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555C12 #19125C
analogous
#5C3E12 #555C12 #305C12
triadic
#555C12 #12555C #5C1255
tetradic
#555C12 #125C3E #19125C #5C1230
square
#555C12 #125C3E #19125C #5C1230
split-complementary
#555C12 #12305C #3E125C
monochromatic
#181A05 #262908 #555C12 #848F1C #B4C226

Accessibility & contrast

On white

7.18
#555C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#555C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555C12
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555C12#FFFFFF#000000##FFFFFF
##555C121.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#635818
Tritanopia (blue-blind)
#5B564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #555c12;
/* rgb */ color: rgb(85, 92, 18);
/* oklch */ color: oklch(45.4% 0.094 115.0);
Tailwind
colors: {
  custom: {
    50: '#878a57',
    500: '#555c12',
    950: '#000000',
  },
}
SCSS
$custom: #555c12;
$custom-light: #878a57;
$custom-dark: #000000;
JSON
{
  "hex": "#555c12",
  "rgb": {
    "r": 85,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 65.676,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4539,
    "c": 0.0939,
    "h": 115
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#555C12
secondary
#3E3594
accent
#3EEA4E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #555C12

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

Preview Lab → · Contrast checker → · Palette generator →

#555C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva