#545F28#545F28

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

Color values

HEX#545F28
RGBrgb(84, 95, 40)
HSLhsl(72, 41%, 26%)
HSVhsv(72, 58%, 37%)
CMYKcmyk(11.6%, 0%, 57.9%, 62.7%)
CIE-LABlab(38.24, -13.47, 29.61)
CIE-LCHlch(38.24, 32.53, 114.46°)
OKLaboklab(46.29% -0.0385 0.0695)
OKLCHoklch(46.29% 0.079 119)
XYZxyz(8.1315, 10.2225, 3.5518)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F28 #33285F
analogous
#5F4F28 #545F28 #395F28
triadic
#545F28 #28545F #5F2854
tetradic
#545F28 #285F4F #33285F #5F2839
square
#545F28 #285F4F #33285F #5F2839
split-complementary
#545F28 #28395F #4F285F
monochromatic
#131609 #2E3416 #545F28 #7A8A3A #A0B44D

Accessibility & contrast

On white

6.90
#545F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#545F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F28
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F28#FFFFFF#000000##FFFFFF
##545F281.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A23
Deuteranopia (green-blind)
#645A2B
Tritanopia (blue-blind)
#585A53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f28;
/* rgb */ color: rgb(84, 95, 40);
/* oklch */ color: oklch(46.3% 0.079 119.0);
Tailwind
colors: {
  custom: {
    50: '#858c64',
    500: '#545f28',
    950: '#000000',
  },
}
SCSS
$custom: #545f28;
$custom-light: #858c64;
$custom-dark: #000000;
JSON
{
  "hex": "#545f28",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46291,
    "c": 0.07944,
    "h": 119
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#545F28
secondary
#5E5192
accent
#57D16F
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #545F28

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

Preview Lab → · Contrast checker → · Palette generator →

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