#555F12#555F12

#555F12 is a mid, moderate yellow. Relative luminance 0.102; OKLCH L 46.2% C 0.098 H 117.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#555F12
RGBrgb(85, 95, 18)
HSLhsl(68, 68%, 22%)
HSVhsv(68, 81%, 37%)
CMYKcmyk(10.5%, 0%, 81.1%, 62.7%)
CIE-LABlab(38.13, -14.66, 39.57)
CIE-LCHlch(38.13, 42.19, 110.33°)
OKLaboklab(46.16% -0.0443 0.087)
OKLCHoklch(46.16% 0.098 117)
XYZxyz(7.9479, 10.1595, 2.1144)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#555F12 #1C125F
analogous
#5F4312 #555F12 #2F5F12
triadic
#555F12 #12555F #5F1255
tetradic
#555F12 #125F43 #1C125F #5F122F
square
#555F12 #125F43 #1C125F #5F122F
split-complementary
#555F12 #122F5F #43125F
monochromatic
#171A05 #272C08 #555F12 #83921C #B1C625

Accessibility & contrast

On white

6.93
#555F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#555F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #555F12
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##555F12#FFFFFF#000000##FFFFFF
##555F121.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#5B5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #555f12;
/* rgb */ color: rgb(85, 95, 18);
/* oklch */ color: oklch(46.2% 0.098 117.0);
Tailwind
colors: {
  custom: {
    50: '#888c57',
    500: '#555f12',
    950: '#000000',
  },
}
SCSS
$custom: #555f12;
$custom-light: #888c57;
$custom-dark: #000000;
JSON
{
  "hex": "#555f12",
  "rgb": {
    "r": 85,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 67.792,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4616,
    "c": 0.09762,
    "h": 117
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#555F12
secondary
#423697
accent
#3DEB53
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #555F12

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

Preview Lab → · Contrast checker → · Palette generator →

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