#545E1B#545E1B

#545E1B is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 45.9% C 0.090 H 117.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#545E1B
RGBrgb(84, 94, 27)
HSLhsl(69, 55%, 24%)
HSVhsv(69, 71%, 37%)
CMYKcmyk(10.6%, 0%, 71.3%, 63.1%)
CIE-LABlab(37.79, -14.03, 35.54)
CIE-LCHlch(37.79, 38.21, 111.55°)
OKLaboklab(45.89% -0.0416 0.0802)
OKLCHoklch(45.89% 0.09 117.4)
XYZxyz(7.8569, 9.9694, 2.5471)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E1B #251B5E
analogous
#5E461B #545E1B #325E1B
triadic
#545E1B #1B545E #5E1B54
tetradic
#545E1B #1B5E46 #251B5E #5E1B32
square
#545E1B #1B5E46 #251B5E #5E1B32
split-complementary
#545E1B #1B325E #461B5E
monochromatic
#151807 #2A2E0D #545E1B #7E8E29 #A9BD36

Accessibility & contrast

On white

7.01
#545E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545E1B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E1B#FFFFFF#000000##FFFFFF
##545E1B1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655911
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#595950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545e1b;
/* rgb */ color: rgb(84, 94, 27);
/* oklch */ color: oklch(45.9% 0.090 117.4);
Tailwind
colors: {
  custom: {
    50: '#868b5c',
    500: '#545e1b',
    950: '#000000',
  },
}
SCSS
$custom: #545e1b;
$custom-light: #868b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#545e1b",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 68.955,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.09035,
    "h": 117.4
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#545E1B
secondary
#4D4194
accent
#49DF5F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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