#545A26#545A26

#545A26 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 45.0% C 0.074 H 114.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#545A26
RGBrgb(84, 90, 38)
HSLhsl(67, 41%, 25%)
HSVhsv(67, 58%, 35%)
CMYKcmyk(6.7%, 0%, 57.8%, 64.7%)
CIE-LABlab(36.63, -10.84, 28.81)
CIE-LCHlch(36.63, 30.78, 110.62°)
OKLaboklab(44.99% -0.0314 0.0675)
OKLCHoklch(44.99% 0.074 114.9)
XYZxyz(7.6623, 9.3372, 3.2320)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545A26 #2C265A
analogous
#5A4626 #545A26 #3A5A26
triadic
#545A26 #26545A #5A2654
tetradic
#545A26 #265A46 #2C265A #5A263A
square
#545A26 #265A46 #2C265A #5A263A
split-complementary
#545A26 #263A5A #46265A
monochromatic
#141609 #2C2F14 #545A26 #7C8538 #A4B04A

Accessibility & contrast

On white

7.32
#545A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#545A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545A26
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545A26#FFFFFF#000000##FFFFFF
##545A261.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605621
Deuteranopia (green-blind)
#605729
Tritanopia (blue-blind)
#59554E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #545a26;
/* rgb */ color: rgb(84, 90, 38);
/* oklch */ color: oklch(45.0% 0.074 114.9);
Tailwind
colors: {
  custom: {
    50: '#858862',
    500: '#545a26',
    950: '#000000',
  },
}
SCSS
$custom: #545a26;
$custom-light: #858862;
$custom-dark: #000000;
JSON
{
  "hex": "#545a26",
  "rgb": {
    "r": 84,
    "g": 90,
    "b": 38
  },
  "hsl": {
    "h": 66.923,
    "s": 40.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.07442,
    "h": 114.9
  },
  "luminance": 0.09337
}

Semantic roles & 50–950 ramp

primary
#545A26
secondary
#564F8D
accent
#57D065
background
#F8F8F5
surface
#EFEFEA
border
#CACAC6
text
#0B0B05
muted
#7C7C79

Preview Lab

Preview with #545A26

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

Preview Lab → · Contrast checker → · Palette generator →

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