#545F16#545F16

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

Color values

HEX#545F16
RGBrgb(84, 95, 22)
HSLhsl(69, 62%, 23%)
HSVhsv(69, 77%, 37%)
CMYKcmyk(11.6%, 0%, 76.8%, 62.7%)
CIE-LABlab(38.07, -14.91, 37.95)
CIE-LCHlch(38.07, 40.78, 111.45°)
OKLaboklab(46.1% -0.0445 0.0844)
OKLCHoklch(46.1% 0.095 117.8)
XYZxyz(7.8934, 10.1272, 2.2978)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F16 #21165F
analogous
#5F4516 #545F16 #2F5F16
triadic
#545F16 #16545F #5F1654
tetradic
#545F16 #165F45 #21165F #5F162F
square
#545F16 #165F45 #21165F #5F162F
split-complementary
#545F16 #162F5F #45165F
monochromatic
#161906 #282D0A #545F16 #809122 #ACC22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545F16#FFFFFF#000000##FFFFFF
##545F161.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #545f16;
/* rgb */ color: rgb(84, 95, 22);
/* oklch */ color: oklch(46.1% 0.095 117.8);
Tailwind
colors: {
  custom: {
    50: '#878c59',
    500: '#545f16',
    950: '#000000',
  },
}
SCSS
$custom: #545f16;
$custom-light: #878c59;
$custom-dark: #000000;
JSON
{
  "hex": "#545f16",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 69.041,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46101,
    "c": 0.09543,
    "h": 117.8
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#545F16
secondary
#493B96
accent
#42E55B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F16

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

Preview Lab → · Contrast checker → · Palette generator →

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