#545F18#545F18

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

Color values

HEX#545F18
RGBrgb(84, 95, 24)
HSLhsl(69, 60%, 23%)
HSVhsv(69, 75%, 37%)
CMYKcmyk(11.6%, 0%, 74.7%, 62.7%)
CIE-LABlab(38.08, -14.79, 37.15)
CIE-LCHlch(38.08, 39.98, 111.71°)
OKLaboklab(46.12% -0.044 0.0831)
OKLCHoklch(46.12% 0.094 117.9)
XYZxyz(7.9134, 10.1353, 2.4034)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545F18 #23185F
analogous
#5F4618 #545F18 #305F18
triadic
#545F18 #18545F #5F1854
tetradic
#545F18 #185F46 #23185F #5F1830
square
#545F18 #185F46 #23185F #5F1830
split-complementary
#545F18 #18305F #46185F
monochromatic
#161806 #292E0C #545F18 #7F9024 #AAC131

Accessibility & contrast

On white

6.94
#545F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #545F18
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545F18#FFFFFF#000000##FFFFFF
##545F181.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66590C
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#595951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #545f18;
/* rgb */ color: rgb(84, 95, 24);
/* oklch */ color: oklch(46.1% 0.094 117.9);
Tailwind
colors: {
  custom: {
    50: '#868c5a',
    500: '#545f18',
    950: '#000000',
  },
}
SCSS
$custom: #545f18;
$custom-light: #868c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545f18",
  "rgb": {
    "r": 84,
    "g": 95,
    "b": 24
  },
  "hsl": {
    "h": 69.296,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.094,
    "h": 117.9
  },
  "luminance": 0.10135
}

Semantic roles & 50–950 ramp

primary
#545F18
secondary
#4B3D95
accent
#45E35D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545F18

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

Preview Lab → · Contrast checker → · Palette generator →

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