#545F17#545F17

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

Color values

HEX#545F17
RGBrgb(84, 95, 23)
HSLhsl(69, 61%, 23%)
HSVhsv(69, 76%, 37%)
CMYKcmyk(11.6%, 0%, 75.8%, 62.7%)
CIE-LABlab(38.08, -14.85, 37.55)
CIE-LCHlch(38.08, 40.39, 111.58°)
OKLaboklab(46.11% -0.0443 0.0837)
OKLCHoklch(46.11% 0.095 117.9)
XYZxyz(7.9032, 10.1312, 2.3496)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F17 #22175F
analogous
#5F4617 #545F17 #305F17
triadic
#545F17 #17545F #5F1754
tetradic
#545F17 #175F46 #22175F #5F1730
square
#545F17 #175F46 #22175F #5F1730
split-complementary
#545F17 #17305F #46175F
monochromatic
#161906 #282E0B #545F17 #809023 #ABC22F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545F17#FFFFFF#000000##FFFFFF
##545F171.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)
#66590A
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#595951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f17;
/* rgb */ color: rgb(84, 95, 23);
/* oklch */ color: oklch(46.1% 0.095 117.9);
Tailwind
colors: {
  custom: {
    50: '#878c5a',
    500: '#545f17',
    950: '#000000',
  },
}
SCSS
$custom: #545f17;
$custom-light: #878c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545f17",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 23
  },
  "hsl": {
    "h": 69.167,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.09473,
    "h": 117.9
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#545F17
secondary
#4A3C96
accent
#44E45C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F17

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

Preview Lab → · Contrast checker → · Palette generator →

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