#545F2A#545F2A

#545F2A is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.3% C 0.077 H 119.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#545F2A
RGBrgb(84, 95, 42)
HSLhsl(72, 39%, 27%)
HSVhsv(72, 56%, 37%)
CMYKcmyk(11.6%, 0%, 55.8%, 62.7%)
CIE-LABlab(38.26, -13.26, 28.57)
CIE-LCHlch(38.26, 31.50, 114.90°)
OKLaboklab(46.32% -0.0377 0.0674)
OKLCHoklch(46.32% 0.077 119.2)
XYZxyz(8.1664, 10.2364, 3.7357)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F2A #352A5F
analogous
#5F502A #545F2A #3A5F2A
triadic
#545F2A #2A545F #5F2A54
tetradic
#545F2A #2A5F50 #352A5F #5F2A3A
square
#545F2A #2A5F50 #352A5F #5F2A3A
split-complementary
#545F2A #2A3A5F #502A5F
monochromatic
#131509 #2E3517 #545F2A #7A893D #9EB251

Accessibility & contrast

On white

6.89
#545F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#545F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F2A
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F2A#FFFFFF#000000##FFFFFF
##545F2A1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A25
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#585A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f2a;
/* rgb */ color: rgb(84, 95, 42);
/* oklch */ color: oklch(46.3% 0.077 119.2);
Tailwind
colors: {
  custom: {
    50: '#858c65',
    500: '#545f2a',
    950: '#000000',
  },
}
SCSS
$custom: #545f2a;
$custom-light: #858c65;
$custom-dark: #000000;
JSON
{
  "hex": "#545f2a",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 42
  },
  "hsl": {
    "h": 72.453,
    "s": 38.686,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46319,
    "c": 0.07726,
    "h": 119.2
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#545F2A
secondary
#605391
accent
#59CF72
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #545F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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