#545C2F#545C2F

#545C2F is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.6% C 0.067 H 117.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#545C2F
RGBrgb(84, 92, 47)
HSLhsl(71, 32%, 27%)
HSVhsv(71, 49%, 36%)
CMYKcmyk(8.7%, 0%, 48.9%, 63.9%)
CIE-LABlab(37.38, -10.99, 24.74)
CIE-LCHlch(37.38, 27.07, 113.96°)
OKLaboklab(45.63% -0.0308 0.0594)
OKLCHoklch(45.63% 0.067 117.4)
XYZxyz(7.9965, 9.7444, 4.1484)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545C2F #372F5C
analogous
#5C4E2F #545C2F #3D5C2F
triadic
#545C2F #2F545C #5C2F54
tetradic
#545C2F #2F5C4E #372F5C #5C2F3D
square
#545C2F #2F5C4E #372F5C #5C2F3D
split-complementary
#545C2F #2F3D5C #4E2F5C
monochromatic
#12140A #2F331A #545C2F #798544 #9DAB5A

Accessibility & contrast

On white

7.12
#545C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#545C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545C2F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545C2F#FFFFFF#000000##FFFFFF
##545C2F1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582B
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#585851
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #545c2f;
/* rgb */ color: rgb(84, 92, 47);
/* oklch */ color: oklch(45.6% 0.067 117.4);
Tailwind
colors: {
  custom: {
    50: '#858a68',
    500: '#545c2f',
    950: '#000000',
  },
}
SCSS
$custom: #545c2f;
$custom-light: #858a68;
$custom-dark: #000000;
JSON
{
  "hex": "#545c2f",
  "rgb": {
    "r": 84,
    "g": 92,
    "b": 47
  },
  "hsl": {
    "h": 70.667,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.06696,
    "h": 117.4
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#545C2F
secondary
#63598E
accent
#5FC972
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0B06
muted
#7C7C7A

Preview Lab

Preview with #545C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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