#545F11#545F11

#545F11 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.1% C 0.099 H 117.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#545F11
RGBrgb(84, 95, 17)
HSLhsl(68, 70%, 22%)
HSVhsv(68, 82%, 37%)
CMYKcmyk(11.6%, 0%, 82.1%, 62.7%)
CIE-LABlab(38.04, -15.18, 39.81)
CIE-LCHlch(38.04, 42.61, 110.88°)
OKLaboklab(46.07% -0.0458 0.0873)
OKLCHoklch(46.07% 0.099 117.7)
XYZxyz(7.8497, 10.1098, 2.0681)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F11 #1C115F
analogous
#5F4311 #545F11 #2D5F11
triadic
#545F11 #11545F #5F1154
tetradic
#545F11 #115F43 #1C115F #5F112D
square
#545F11 #115F43 #1C115F #5F112D
split-complementary
#545F11 #112D5F #43115F
monochromatic
#171A05 #262B08 #545F11 #82931A #B0C724

Accessibility & contrast

On white

6.95
#545F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#545F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F11
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F11#FFFFFF#000000##FFFFFF
##545F111.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#655A18
Tritanopia (blue-blind)
#5A5950
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f11;
/* rgb */ color: rgb(84, 95, 17);
/* oklch */ color: oklch(46.1% 0.099 117.7);
Tailwind
colors: {
  custom: {
    50: '#878c57',
    500: '#545f11',
    950: '#000000',
  },
}
SCSS
$custom: #545f11;
$custom-light: #878c57;
$custom-dark: #000000;
JSON
{
  "hex": "#545f11",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 68.462,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46066,
    "c": 0.09861,
    "h": 117.7
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#545F11
secondary
#423498
accent
#3BEC54
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #545F11

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

Preview Lab → · Contrast checker → · Palette generator →

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