#545E18#545E18

#545E18 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 45.9% C 0.093 H 117.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#545E18
RGBrgb(84, 94, 24)
HSLhsl(69, 59%, 23%)
HSVhsv(69, 74%, 37%)
CMYKcmyk(10.6%, 0%, 74.5%, 63.1%)
CIE-LABlab(37.76, -14.24, 36.83)
CIE-LCHlch(37.76, 39.48, 111.14°)
OKLaboklab(45.86% -0.0425 0.0824)
OKLCHoklch(45.86% 0.093 117.3)
XYZxyz(7.8239, 9.9563, 2.3736)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E18 #22185E
analogous
#5E4518 #545E18 #315E18
triadic
#545E18 #18545E #5E1854
tetradic
#545E18 #185E45 #22185E #5E1831
square
#545E18 #185E45 #22185E #5E1831
split-complementary
#545E18 #18315E #45185E
monochromatic
#161806 #282D0C #545E18 #808F24 #ABC031

Accessibility & contrast

On white

7.02
#545E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545E18
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E18#FFFFFF#000000##FFFFFF
##545E181.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#5A5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545e18;
/* rgb */ color: rgb(84, 94, 24);
/* oklch */ color: oklch(45.9% 0.093 117.3);
Tailwind
colors: {
  custom: {
    50: '#868b5a',
    500: '#545e18',
    950: '#000000',
  },
}
SCSS
$custom: #545e18;
$custom-light: #868b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#545e18",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 68.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.09269,
    "h": 117.3
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#545E18
secondary
#4A3D94
accent
#45E35C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #545E18

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

Preview Lab → · Contrast checker → · Palette generator →

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