#545B10#545B10

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

Color values

HEX#545B10
RGBrgb(84, 91, 16)
HSLhsl(66, 70%, 21%)
HSVhsv(66, 82%, 36%)
CMYKcmyk(7.7%, 0%, 82.4%, 64.3%)
CIE-LABlab(36.75, -13.00, 38.98)
CIE-LCHlch(36.75, 41.09, 108.45°)
OKLaboklab(45.03% -0.0398 0.0854)
OKLCHoklch(45.03% 0.094 115)
XYZxyz(7.4910, 9.4045, 1.9108)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545B10 #17105B
analogous
#5B3C10 #545B10 #2E5B10
triadic
#545B10 #10545B #5B1054
tetradic
#545B10 #105B3C #17105B #5B102E
square
#545B10 #105B3C #17105B #5B102E
split-complementary
#545B10 #102E5B #3C105B
monochromatic
#181A05 #242707 #545B10 #848F19 #B4C322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545B10#FFFFFF#000000##FFFFFF
##545B101.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)
#625717
Tritanopia (blue-blind)
#5A554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545b10;
/* rgb */ color: rgb(84, 91, 16);
/* oklch */ color: oklch(45.0% 0.094 115.0);
Tailwind
colors: {
  custom: {
    50: '#878956',
    500: '#545b10',
    950: '#000000',
  },
}
SCSS
$custom: #545b10;
$custom-light: #878956;
$custom-dark: #000000;
JSON
{
  "hex": "#545b10",
  "rgb": {
    "r": 84,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 65.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.09422,
    "h": 115
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#545B10
secondary
#3C3394
accent
#3BED4C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545B10

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

Preview Lab → · Contrast checker → · Palette generator →

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