#545B15#545B15

#545B15 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.1% C 0.091 H 115.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#545B15
RGBrgb(84, 91, 21)
HSLhsl(66, 63%, 22%)
HSVhsv(66, 77%, 36%)
CMYKcmyk(7.7%, 0%, 76.9%, 64.3%)
CIE-LABlab(36.78, -12.74, 37.11)
CIE-LCHlch(36.78, 39.23, 108.95°)
OKLaboklab(45.07% -0.0386 0.0824)
OKLCHoklch(45.07% 0.091 115.1)
XYZxyz(7.5328, 9.4213, 2.1310)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B15 #1C155B
analogous
#5B3F15 #545B15 #315B15
triadic
#545B15 #15545B #5B1554
tetradic
#545B15 #155B3F #1C155B #5B1531
square
#545B15 #155B3F #1C155B #5B1531
split-complementary
#545B15 #15315B #3F155B
monochromatic
#171906 #26290A #545B15 #828D20 #B0BE2C

Accessibility & contrast

On white

7.28
#545B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#545B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545B15
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B15#FFFFFF#000000##FFFFFF
##545B151.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625608
Deuteranopia (green-blind)
#62571B
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545b15;
/* rgb */ color: rgb(84, 91, 21);
/* oklch */ color: oklch(45.1% 0.091 115.1);
Tailwind
colors: {
  custom: {
    50: '#878958',
    500: '#545b15',
    950: '#000000',
  },
}
SCSS
$custom: #545b15;
$custom-light: #878958;
$custom-dark: #000000;
JSON
{
  "hex": "#545b15",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.09102,
    "h": 115.1
  },
  "luminance": 0.09421
}

Semantic roles & 50–950 ramp

primary
#545B15
secondary
#423992
accent
#42E653
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545B15

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

Preview Lab → · Contrast checker → · Palette generator →

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