#555A12#555A12

#555A12 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.091 H 113.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#555A12
RGBrgb(85, 90, 18)
HSLhsl(64, 67%, 21%)
HSVhsv(64, 80%, 35%)
CMYKcmyk(5.6%, 0%, 80%, 64.7%)
CIE-LABlab(36.53, -11.86, 38.08)
CIE-LCHlch(36.53, 39.88, 107.30°)
OKLaboklab(44.88% -0.0365 0.0838)
OKLCHoklch(44.88% 0.091 113.6)
XYZxyz(7.5119, 9.2875, 1.9691)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555A12 #17125A
analogous
#5A3B12 #555A12 #315A12
triadic
#555A12 #12555A #5A1255
tetradic
#555A12 #125A3B #17125A #5A1231
square
#555A12 #125A3B #17125A #5A1231
split-complementary
#555A12 #12315A #3B125A
monochromatic
#181A05 #252708 #555A12 #858D1C #B5C026

Accessibility & contrast

On white

7.35
#555A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#555A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #555A12
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555A12#FFFFFF#000000##FFFFFF
##555A121.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#615718
Tritanopia (blue-blind)
#5B544C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #555a12;
/* rgb */ color: rgb(85, 90, 18);
/* oklch */ color: oklch(44.9% 0.091 113.6);
Tailwind
colors: {
  custom: {
    50: '#878856',
    500: '#555a12',
    950: '#000000',
  },
}
SCSS
$custom: #555a12;
$custom-light: #878856;
$custom-dark: #000000;
JSON
{
  "hex": "#555a12",
  "rgb": {
    "r": 85,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 64.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4488,
    "c": 0.09145,
    "h": 113.6
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#555A12
secondary
#3C3593
accent
#3EEA4A
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #555A12

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

Preview Lab → · Contrast checker → · Palette generator →

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