#545D15#545D15

#545D15 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.6% C 0.094 H 116.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#545D15
RGBrgb(84, 93, 21)
HSLhsl(68, 63%, 22%)
HSVhsv(68, 77%, 36%)
CMYKcmyk(9.7%, 0%, 77.4%, 63.5%)
CIE-LABlab(37.42, -13.86, 37.73)
CIE-LCHlch(37.42, 40.19, 110.18°)
OKLaboklab(45.58% -0.0417 0.0837)
OKLCHoklch(45.58% 0.094 116.5)
XYZxyz(7.7061, 9.7678, 2.1887)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545D15 #1E155D
analogous
#5D4215 #545D15 #305D15
triadic
#545D15 #15545D #5D1554
tetradic
#545D15 #155D42 #1E155D #5D1530
square
#545D15 #155D42 #1E155D #5D1530
split-complementary
#545D15 #15305D #42155D
monochromatic
#171906 #272B0A #545D15 #818F20 #AEC12C

Accessibility & contrast

On white

7.11
#545D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545D15
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545D15#FFFFFF#000000##FFFFFF
##545D151.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645808
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#5A574F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545d15;
/* rgb */ color: rgb(84, 93, 21);
/* oklch */ color: oklch(45.6% 0.094 116.5);
Tailwind
colors: {
  custom: {
    50: '#878a58',
    500: '#545d15',
    950: '#000000',
  },
}
SCSS
$custom: #545d15;
$custom-light: #878a58;
$custom-dark: #000000;
JSON
{
  "hex": "#545d15",
  "rgb": {
    "r": 84,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 67.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.09355,
    "h": 116.5
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#545D15
secondary
#453994
accent
#42E656
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545D15

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

Preview Lab → · Contrast checker → · Palette generator →

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