#545F19#545F19

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

Color values

HEX#545F19
RGBrgb(84, 95, 25)
HSLhsl(69, 58%, 24%)
HSVhsv(69, 74%, 37%)
CMYKcmyk(11.6%, 0%, 73.7%, 62.7%)
CIE-LABlab(38.09, -14.73, 36.73)
CIE-LCHlch(38.09, 39.57, 111.85°)
OKLaboklab(46.13% -0.0437 0.0824)
OKLCHoklch(46.13% 0.093 118)
XYZxyz(7.9240, 10.1395, 2.4592)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F19 #24195F
analogous
#5F4719 #545F19 #315F19
triadic
#545F19 #19545F #5F1954
tetradic
#545F19 #195F47 #24195F #5F1931
square
#545F19 #195F47 #24195F #5F1931
split-complementary
#545F19 #19315F #47195F
monochromatic
#151806 #292F0C #545F19 #7F8F26 #AAC032

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545F19#FFFFFF#000000##FFFFFF
##545F191.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)
#665A0E
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#595951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f19;
/* rgb */ color: rgb(84, 95, 25);
/* oklch */ color: oklch(46.1% 0.093 118.0);
Tailwind
colors: {
  custom: {
    50: '#868c5b',
    500: '#545f19',
    950: '#000000',
  },
}
SCSS
$custom: #545f19;
$custom-light: #868c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#545f19",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 25
  },
  "hsl": {
    "h": 69.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.09324,
    "h": 118
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#545F19
secondary
#4C3F95
accent
#46E25F
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F19

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

Preview Lab → · Contrast checker → · Palette generator →

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