#545F26#545F26

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

Color values

HEX#545F26
RGBrgb(84, 95, 38)
HSLhsl(72, 43%, 26%)
HSVhsv(72, 60%, 37%)
CMYKcmyk(11.6%, 0%, 60%, 62.7%)
CIE-LABlab(38.22, -13.67, 30.64)
CIE-LCHlch(38.22, 33.55, 114.05°)
OKLaboklab(46.27% -0.0393 0.0714)
OKLCHoklch(46.27% 0.082 118.8)
XYZxyz(8.0983, 10.2092, 3.3773)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F26 #31265F
analogous
#5F4D26 #545F26 #375F26
triadic
#545F26 #26545F #5F2654
tetradic
#545F26 #265F4D #31265F #5F2637
square
#545F26 #265F4D #31265F #5F2637
split-complementary
#545F26 #26375F #4D265F
monochromatic
#131609 #2D3315 #545F26 #7B8B37 #A1B649

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545F26#FFFFFF#000000##FFFFFF
##545F261.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)
#655A20
Deuteranopia (green-blind)
#645A29
Tritanopia (blue-blind)
#595A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f26;
/* rgb */ color: rgb(84, 95, 38);
/* oklch */ color: oklch(46.3% 0.082 118.8);
Tailwind
colors: {
  custom: {
    50: '#868c62',
    500: '#545f26',
    950: '#000000',
  },
}
SCSS
$custom: #545f26;
$custom-light: #868c62;
$custom-dark: #000000;
JSON
{
  "hex": "#545f26",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 38
  },
  "hsl": {
    "h": 71.579,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46265,
    "c": 0.08154,
    "h": 118.8
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#545F26
secondary
#5C4F92
accent
#55D36D
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #545F26

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

Preview Lab → · Contrast checker → · Palette generator →

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