#545C1E#545C1E

#545C1E is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.4% C 0.085 H 116.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#545C1E
RGBrgb(84, 92, 30)
HSLhsl(68, 51%, 24%)
HSVhsv(68, 67%, 36%)
CMYKcmyk(8.7%, 0%, 67.4%, 63.9%)
CIE-LABlab(37.18, -12.69, 33.50)
CIE-LCHlch(37.18, 35.82, 110.75°)
OKLaboklab(45.4% -0.0375 0.0764)
OKLCHoklch(45.4% 0.085 116.1)
XYZxyz(7.7178, 9.6329, 2.6808)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C1E #261E5C
analogous
#5C451E #545C1E #355C1E
triadic
#545C1E #1E545C #5C1E54
tetradic
#545C1E #1E5C45 #261E5C #5C1E35
square
#545C1E #1E5C45 #261E5C #5C1E35
split-complementary
#545C1E #1E355C #451E5C
monochromatic
#151708 #2A2E0F #545C1E #7E8A2D #A8B83C

Accessibility & contrast

On white

7.18
#545C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#545C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C1E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C1E#FFFFFF#000000##FFFFFF
##545C1E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635716
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#59574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #545c1e;
/* rgb */ color: rgb(84, 92, 30);
/* oklch */ color: oklch(45.4% 0.085 116.1);
Tailwind
colors: {
  custom: {
    50: '#868a5d',
    500: '#545c1e',
    950: '#000000',
  },
}
SCSS
$custom: #545c1e;
$custom-light: #868a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#545c1e",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 30
  },
  "hsl": {
    "h": 67.742,
    "s": 50.82,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.08511,
    "h": 116.1
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#545C1E
secondary
#4F4591
accent
#4DDA60
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #545C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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