#545E0F#545E0F

#545E0F is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 45.8% C 0.098 H 117.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#545E0F
RGBrgb(84, 94, 15)
HSLhsl(68, 72%, 21%)
HSVhsv(68, 84%, 37%)
CMYKcmyk(10.6%, 0%, 84%, 63.1%)
CIE-LABlab(37.71, -14.72, 40.19)
CIE-LCHlch(37.71, 42.80, 110.12°)
OKLaboklab(45.8% -0.0447 0.0878)
OKLCHoklch(45.8% 0.098 117)
XYZxyz(7.7453, 9.9248, 1.9595)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#545E0F #190F5E
analogous
#5E410F #545E0F #2D5E0F
triadic
#545E0F #0F545E #5E0F54
tetradic
#545E0F #0F5E41 #190F5E #5E0F2D
square
#545E0F #0F5E41 #190F5E #5E0F2D
split-complementary
#545E0F #0F2D5E #410F5E
monochromatic
#181A04 #252907 #545E0F #839317 #B2C820

Accessibility & contrast

On white

7.04
#545E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #545E0F
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##545E0F#FFFFFF#000000##FFFFFF
##545E0F1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#5A5850
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #545e0f;
/* rgb */ color: rgb(84, 94, 15);
/* oklch */ color: oklch(45.8% 0.098 117.0);
Tailwind
colors: {
  custom: {
    50: '#878b56',
    500: '#545e0f',
    950: '#000000',
  },
}
SCSS
$custom: #545e0f;
$custom-light: #878b56;
$custom-dark: #000000;
JSON
{
  "hex": "#545e0f",
  "rgb": {
    "r": 84,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 67.595,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.09848,
    "h": 117
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#545E0F
secondary
#3E3197
accent
#39EF50
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #545E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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