#545F1A#545F1A

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

Color values

HEX#545F1A
RGBrgb(84, 95, 26)
HSLhsl(70, 57%, 24%)
HSVhsv(70, 73%, 37%)
CMYKcmyk(11.6%, 0%, 72.6%, 62.7%)
CIE-LABlab(38.10, -14.66, 36.30)
CIE-LCHlch(38.10, 39.15, 111.99°)
OKLaboklab(46.14% -0.0434 0.0816)
OKLCHoklch(46.14% 0.092 118)
XYZxyz(7.9350, 10.1439, 2.5170)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F1A #251A5F
analogous
#5F471A #545F1A #315F1A
triadic
#545F1A #1A545F #5F1A54
tetradic
#545F1A #1A5F47 #251A5F #5F1A31
square
#545F1A #1A5F47 #251A5F #5F1A31
split-complementary
#545F1A #1A315F #471A5F
monochromatic
#151807 #2A2F0D #545F1A #7E8F27 #A9BF34

Accessibility & contrast

On white

6.93
#545F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#545F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #545F1A
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F1A#FFFFFF#000000##FFFFFF
##545F1A1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A10
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#595A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f1a;
/* rgb */ color: rgb(84, 95, 26);
/* oklch */ color: oklch(46.1% 0.092 118.0);
Tailwind
colors: {
  custom: {
    50: '#868c5b',
    500: '#545f1a',
    950: '#000000',
  },
}
SCSS
$custom: #545f1a;
$custom-light: #868c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#545f1a",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 69.565,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.09247,
    "h": 118
  },
  "luminance": 0.10144
}

Semantic roles & 50–950 ramp

primary
#545F1A
secondary
#4D4095
accent
#48E060
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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