#545F15#545F15

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

Color values

HEX#545F15
RGBrgb(84, 95, 21)
HSLhsl(69, 64%, 23%)
HSVhsv(69, 78%, 37%)
CMYKcmyk(11.6%, 0%, 77.9%, 62.7%)
CIE-LABlab(38.06, -14.97, 38.35)
CIE-LCHlch(38.06, 41.17, 111.33°)
OKLaboklab(46.09% -0.0448 0.085)
OKLCHoklch(46.09% 0.096 117.8)
XYZxyz(7.8839, 10.1235, 2.2480)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F15 #20155F
analogous
#5F4515 #545F15 #2F5F15
triadic
#545F15 #15545F #5F1554
tetradic
#545F15 #155F45 #20155F #5F152F
square
#545F15 #155F45 #20155F #5F152F
split-complementary
#545F15 #152F5F #45155F
monochromatic
#161906 #282D0A #545F15 #809120 #ADC32B

Accessibility & contrast

On white

6.94
#545F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#545F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F15
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F15#FFFFFF#000000##FFFFFF
##545F151.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665907
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#5A5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f15;
/* rgb */ color: rgb(84, 95, 21);
/* oklch */ color: oklch(46.1% 0.096 117.8);
Tailwind
colors: {
  custom: {
    50: '#878c59',
    500: '#545f15',
    950: '#000000',
  },
}
SCSS
$custom: #545f15;
$custom-light: #878c59;
$custom-dark: #000000;
JSON
{
  "hex": "#545f15",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 68.919,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.09612,
    "h": 117.8
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#545F15
secondary
#473A96
accent
#41E75A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F15

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

Preview Lab → · Contrast checker → · Palette generator →

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