#545F1B#545F1B

#545F1B is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.1% C 0.092 H 118.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#545F1B
RGBrgb(84, 95, 27)
HSLhsl(70, 56%, 24%)
HSVhsv(70, 72%, 37%)
CMYKcmyk(11.6%, 0%, 71.6%, 62.7%)
CIE-LABlab(38.11, -14.59, 35.87)
CIE-LCHlch(38.11, 38.72, 112.14°)
OKLaboklab(46.14% -0.0431 0.0809)
OKLCHoklch(46.14% 0.092 118.1)
XYZxyz(7.9464, 10.1484, 2.5769)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F1B #261B5F
analogous
#5F481B #545F1B #325F1B
triadic
#545F1B #1B545F #5F1B54
tetradic
#545F1B #1B5F48 #261B5F #5F1B32
square
#545F1B #1B5F48 #261B5F #5F1B32
split-complementary
#545F1B #1B325F #481B5F
monochromatic
#151807 #2A2F0D #545F1B #7E8F29 #A8BE36

Accessibility & contrast

On white

6.93
#545F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#545F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F1B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F1B#FFFFFF#000000##FFFFFF
##545F1B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A11
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#595A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f1b;
/* rgb */ color: rgb(84, 95, 27);
/* oklch */ color: oklch(46.1% 0.092 118.1);
Tailwind
colors: {
  custom: {
    50: '#868c5c',
    500: '#545f1b',
    950: '#000000',
  },
}
SCSS
$custom: #545f1b;
$custom-light: #868c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#545f1b",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 69.706,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.09168,
    "h": 118.1
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#545F1B
secondary
#4F4195
accent
#49DF61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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