#545E11#545E11

#545E11 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.097 H 117.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#545E11
RGBrgb(84, 94, 17)
HSLhsl(68, 69%, 22%)
HSVhsv(68, 82%, 37%)
CMYKcmyk(10.6%, 0%, 81.9%, 63.1%)
CIE-LABlab(37.72, -14.63, 39.51)
CIE-LCHlch(37.72, 42.14, 110.32°)
OKLaboklab(45.81% -0.0442 0.0867)
OKLCHoklch(45.81% 0.097 117)
XYZxyz(7.7602, 9.9308, 2.0382)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E11 #1B115E
analogous
#5E4211 #545E11 #2E5E11
triadic
#545E11 #11545E #5E1154
tetradic
#545E11 #115E42 #1B115E #5E112E
square
#545E11 #115E42 #1B115E #5E112E
split-complementary
#545E11 #112E5E #42115E
monochromatic
#171A05 #262A08 #545E11 #82921A #B1C624

Accessibility & contrast

On white

7.03
#545E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#545E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #545E11
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E11#FFFFFF#000000##FFFFFF
##545E111.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#645918
Tritanopia (blue-blind)
#5A5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545e11;
/* rgb */ color: rgb(84, 94, 17);
/* oklch */ color: oklch(45.8% 0.097 117.0);
Tailwind
colors: {
  custom: {
    50: '#878b56',
    500: '#545e11',
    950: '#000000',
  },
}
SCSS
$custom: #545e11;
$custom-light: #878b56;
$custom-dark: #000000;
JSON
{
  "hex": "#545e11",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 67.792,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45808,
    "c": 0.09736,
    "h": 117
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#545E11
secondary
#413497
accent
#3CEC53
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #545E11

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

Preview Lab → · Contrast checker → · Palette generator →

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