#545B0F#545B0F

#545B0F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.095 H 115.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#545B0F
RGBrgb(84, 91, 15)
HSLhsl(66, 72%, 21%)
HSVhsv(66, 84%, 36%)
CMYKcmyk(7.7%, 0%, 83.5%, 64.3%)
CIE-LABlab(36.75, -13.05, 39.32)
CIE-LCHlch(36.75, 41.43, 108.36°)
OKLaboklab(45.02% -0.0401 0.0859)
OKLCHoklch(45.02% 0.095 115)
XYZxyz(7.4837, 9.4016, 1.8723)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B0F #160F5B
analogous
#5B3C0F #545B0F #2E5B0F
triadic
#545B0F #0F545B #5B0F54
tetradic
#545B0F #0F5B3C #160F5B #5B0F2E
square
#545B0F #0F5B3C #160F5B #5B0F2E
split-complementary
#545B0F #0F2E5B #3C0F5B
monochromatic
#181A04 #242606 #545B0F #849018 #B5C420

Accessibility & contrast

On white

7.29
#545B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545B0F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545B0F#FFFFFF#000000##FFFFFF
##545B0F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#625716
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545b0f;
/* rgb */ color: rgb(84, 91, 15);
/* oklch */ color: oklch(45.0% 0.095 115.0);
Tailwind
colors: {
  custom: {
    50: '#878955',
    500: '#545b0f',
    950: '#000000',
  },
}
SCSS
$custom: #545b0f;
$custom-light: #878955;
$custom-dark: #000000;
JSON
{
  "hex": "#545b0f",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 65.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.0948,
    "h": 115
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#545B0F
secondary
#3A3195
accent
#39EE4A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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