#546010#546010

#546010 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.3% C 0.100 H 118.2°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#546010
RGBrgb(84, 96, 16)
HSLhsl(69, 71%, 22%)
HSVhsv(69, 83%, 38%)
CMYKcmyk(12.5%, 0%, 83.3%, 62.4%)
CIE-LABlab(38.35, -15.78, 40.44)
CIE-LCHlch(38.35, 43.41, 111.32°)
OKLaboklab(46.32% -0.0475 0.0885)
OKLCHoklch(46.32% 0.1 118.2)
XYZxyz(7.9327, 10.2880, 2.0580)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546010 #1C1060
analogous
#604410 #546010 #2C6010
triadic
#546010 #105460 #601054
tetradic
#546010 #106044 #1C1060 #60102C
square
#546010 #106044 #1C1060 #60102C
split-complementary
#546010 #102C60 #441060
monochromatic
#171A04 #262C07 #546010 #829419 #B0C921

Accessibility & contrast

On white

6.87
#546010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#546010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546010
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546010#FFFFFF#000000##FFFFFF
##5460101.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#5A5A51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #546010;
/* rgb */ color: rgb(84, 96, 16);
/* oklch */ color: oklch(46.3% 0.100 118.2);
Tailwind
colors: {
  custom: {
    50: '#878d56',
    500: '#546010',
    950: '#000000',
  },
}
SCSS
$custom: #546010;
$custom-light: #878d56;
$custom-dark: #000000;
JSON
{
  "hex": "#546010",
  "rgb": {
    "r": 84,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 69,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46319,
    "c": 0.10043,
    "h": 118.2
  },
  "luminance": 0.10288
}

Semantic roles & 50–950 ramp

primary
#546010
secondary
#423399
accent
#3AEE55
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #546010

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

Preview Lab → · Contrast checker → · Palette generator →

#546010 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva