#545C14#545C14

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

Color values

HEX#545C14
RGBrgb(84, 92, 20)
HSLhsl(67, 64%, 22%)
HSVhsv(67, 78%, 36%)
CMYKcmyk(8.7%, 0%, 78.3%, 63.9%)
CIE-LABlab(37.10, -13.36, 37.81)
CIE-LCHlch(37.10, 40.10, 109.46°)
OKLaboklab(45.31% -0.0404 0.0837)
OKLCHoklch(45.31% 0.093 115.8)
XYZxyz(7.6098, 9.5897, 2.1118)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C14 #1C145C
analogous
#5C4014 #545C14 #305C14
triadic
#545C14 #14545C #5C1454
tetradic
#545C14 #145C40 #1C145C #5C1430
square
#545C14 #145C40 #1C145C #5C1430
split-complementary
#545C14 #14305C #40145C
monochromatic
#171905 #262A09 #545C14 #828E1F #B0C12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545C14#FFFFFF#000000##FFFFFF
##545C141.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)
#635706
Deuteranopia (green-blind)
#62581A
Tritanopia (blue-blind)
#5A564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c14;
/* rgb */ color: rgb(84, 92, 20);
/* oklch */ color: oklch(45.3% 0.093 115.8);
Tailwind
colors: {
  custom: {
    50: '#878a58',
    500: '#545c14',
    950: '#000000',
  },
}
SCSS
$custom: #545c14;
$custom-light: #878a58;
$custom-dark: #000000;
JSON
{
  "hex": "#545c14",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 66.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45314,
    "c": 0.09296,
    "h": 115.8
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#545C14
secondary
#423894
accent
#41E753
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #545C14

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

Preview Lab → · Contrast checker → · Palette generator →

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