#545C10#545C10

#545C10 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.095 H 115.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#545C10
RGBrgb(84, 92, 16)
HSLhsl(66, 70%, 21%)
HSVhsv(66, 83%, 36%)
CMYKcmyk(8.7%, 0%, 82.6%, 63.9%)
CIE-LABlab(37.07, -13.57, 39.27)
CIE-LCHlch(37.07, 41.55, 109.06°)
OKLaboklab(45.29% -0.0414 0.086)
OKLCHoklch(45.29% 0.095 115.7)
XYZxyz(7.5770, 9.5766, 1.9394)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C10 #18105C
analogous
#5C3E10 #545C10 #2E5C10
triadic
#545C10 #10545C #5C1054
tetradic
#545C10 #105C3E #18105C #5C102E
square
#545C10 #105C3E #18105C #5C102E
split-complementary
#545C10 #102E5C #3E105C
monochromatic
#181A05 #242807 #545C10 #849019 #B3C422

Accessibility & contrast

On white

7.20
#545C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#545C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C10
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C10#FFFFFF#000000##FFFFFF
##545C101.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c10;
/* rgb */ color: rgb(84, 92, 16);
/* oklch */ color: oklch(45.3% 0.095 115.7);
Tailwind
colors: {
  custom: {
    50: '#878a56',
    500: '#545c10',
    950: '#000000',
  },
}
SCSS
$custom: #545c10;
$custom-light: #878a56;
$custom-dark: #000000;
JSON
{
  "hex": "#545c10",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 66.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45287,
    "c": 0.09546,
    "h": 115.7
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#545C10
secondary
#3D3395
accent
#3BED4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #545C10

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

Preview Lab → · Contrast checker → · Palette generator →

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