#545012#545012

#545012 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.3% C 0.080 H 105.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#545012
RGBrgb(84, 80, 18)
HSLhsl(56, 65%, 20%)
HSVhsv(56, 79%, 33%)
CMYKcmyk(0%, 4.8%, 78.6%, 67.1%)
CIE-LABlab(33.28, -6.54, 34.95)
CIE-LCHlch(33.28, 35.56, 100.59°)
OKLaboklab(42.26% -0.0216 0.0773)
OKLCHoklch(42.26% 0.08 105.6)
XYZxyz(6.6343, 7.6661, 1.7024)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545012 #121654
analogous
#542F12 #545012 #375412
triadic
#545012 #125450 #501254
tetradic
#545012 #12542F #121654 #541237
square
#545012 #12542F #121654 #541237
split-complementary
#545012 #123754 #2F1254
monochromatic
#191805 #222007 #545012 #86801D #B9B028

Accessibility & contrast

On white

8.29
#545012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#545012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545012
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545012#FFFFFF#000000##FFFFFF
##5450121.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#5B4A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #545012;
/* rgb */ color: rgb(84, 80, 18);
/* oklch */ color: oklch(42.3% 0.080 105.6);
Tailwind
colors: {
  custom: {
    50: '#878055',
    500: '#545012',
    950: '#000000',
  },
}
SCSS
$custom: #545012;
$custom-light: #878055;
$custom-dark: #000000;
JSON
{
  "hex": "#545012",
  "rgb": {
    "r": 84,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 56.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.08023,
    "h": 105.6
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#545012
secondary
#353A8D
accent
#4AE840
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A03
muted
#7D7C78

Preview Lab

Preview with #545012

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

Preview Lab → · Contrast checker → · Palette generator →

#545012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva