#545D10#545D10

#545D10 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.5% C 0.097 H 116.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#545D10
RGBrgb(84, 93, 16)
HSLhsl(67, 71%, 21%)
HSVhsv(67, 83%, 36%)
CMYKcmyk(9.7%, 0%, 82.8%, 63.5%)
CIE-LABlab(37.39, -14.12, 39.56)
CIE-LCHlch(37.39, 42.01, 109.65°)
OKLaboklab(45.55% -0.0429 0.0866)
OKLCHoklch(45.55% 0.097 116.4)
XYZxyz(7.6642, 9.7510, 1.9685)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D10 #19105D
analogous
#5D4010 #545D10 #2E5D10
triadic
#545D10 #10545D #5D1054
tetradic
#545D10 #105D40 #19105D #5D102E
square
#545D10 #105D40 #19105D #5D102E
split-complementary
#545D10 #102E5D #40105D
monochromatic
#181A04 #252907 #545D10 #839119 #B2C522

Accessibility & contrast

On white

7.12
#545D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545D10
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D10#FFFFFF#000000##FFFFFF
##545D101.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d10;
/* rgb */ color: rgb(84, 93, 16);
/* oklch */ color: oklch(45.5% 0.097 116.4);
Tailwind
colors: {
  custom: {
    50: '#878a56',
    500: '#545d10',
    950: '#000000',
  },
}
SCSS
$custom: #545d10;
$custom-light: #878a56;
$custom-dark: #000000;
JSON
{
  "hex": "#545d10",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 67.013,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.09669,
    "h": 116.4
  },
  "luminance": 0.09751
}

Semantic roles & 50–950 ramp

primary
#545D10
secondary
#3E3396
accent
#3AED4F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545D10

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

Preview Lab → · Contrast checker → · Palette generator →

#545D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva