#545F13#545F13

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

Color values

HEX#545F13
RGBrgb(84, 95, 19)
HSLhsl(69, 67%, 22%)
HSVhsv(69, 80%, 37%)
CMYKcmyk(11.6%, 0%, 80%, 62.7%)
CIE-LABlab(38.05, -15.08, 39.10)
CIE-LCHlch(38.05, 41.91, 111.09°)
OKLaboklab(46.08% -0.0453 0.0862)
OKLCHoklch(46.08% 0.097 117.7)
XYZxyz(7.8661, 10.1163, 2.1542)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F13 #1E135F
analogous
#5F4413 #545F13 #2E5F13
triadic
#545F13 #13545F #5F1354
tetradic
#545F13 #135F44 #1E135F #5F132E
square
#545F13 #135F44 #1E135F #5F132E
split-complementary
#545F13 #132E5F #44135F
monochromatic
#171A05 #272C09 #545F13 #81921D #AEC527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##545F13#FFFFFF#000000##FFFFFF
##545F131.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)
#665903
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#5A5951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f13;
/* rgb */ color: rgb(84, 95, 19);
/* oklch */ color: oklch(46.1% 0.097 117.7);
Tailwind
colors: {
  custom: {
    50: '#878c58',
    500: '#545f13',
    950: '#000000',
  },
}
SCSS
$custom: #545f13;
$custom-light: #878c58;
$custom-dark: #000000;
JSON
{
  "hex": "#545f13",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 68.684,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.09741,
    "h": 117.7
  },
  "luminance": 0.10116
}

Semantic roles & 50–950 ramp

primary
#545F13
secondary
#453797
accent
#3EEA57
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #545F13

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

Preview Lab → · Contrast checker → · Palette generator →

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