#546112#546112

#546112 is a mid, moderate yellow. Relative luminance 0.105; OKLCH L 46.6% C 0.101 H 118.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#546112
RGBrgb(84, 97, 18)
HSLhsl(70, 69%, 23%)
HSVhsv(70, 81%, 38%)
CMYKcmyk(13.4%, 0%, 81.4%, 62%)
CIE-LABlab(38.69, -16.23, 40.05)
CIE-LCHlch(38.69, 43.22, 112.06°)
OKLaboklab(46.59% -0.0486 0.0881)
OKLCHoklch(46.59% 0.101 118.9)
XYZxyz(8.0402, 10.4779, 2.1710)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546112 #1F1261
analogous
#614612 #546112 #2D6112
triadic
#546112 #125461 #611254
tetradic
#546112 #126146 #1F1261 #61122D
square
#546112 #126146 #1F1261 #61122D
split-complementary
#546112 #122D61 #461261
monochromatic
#161A05 #272D08 #546112 #81951C #ADC825

Accessibility & contrast

On white

6.78
#546112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#546112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546112
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546112#FFFFFF#000000##FFFFFF
##5461121.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#595B52
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #546112;
/* rgb */ color: rgb(84, 97, 18);
/* oklch */ color: oklch(46.6% 0.101 118.9);
Tailwind
colors: {
  custom: {
    50: '#878d57',
    500: '#546112',
    950: '#000000',
  },
}
SCSS
$custom: #546112;
$custom-light: #878d57;
$custom-dark: #000000;
JSON
{
  "hex": "#546112",
  "rgb": {
    "r": 84,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 69.873,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4659,
    "c": 0.10057,
    "h": 118.9
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#546112
secondary
#463699
accent
#3CEC59
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #546112

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

Preview Lab → · Contrast checker → · Palette generator →

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