#546E12#546E12

#546E12 is a mid, moderate yellow-green. Relative luminance 0.131; OKLCH L 50.0% C 0.117 H 125.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#546E12
RGBrgb(84, 110, 18)
HSLhsl(77, 72%, 25%)
HSVhsv(77, 84%, 43%)
CMYKcmyk(23.6%, 0%, 83.6%, 56.9%)
CIE-LABlab(42.88, -23.07, 43.90)
CIE-LCHlch(42.88, 49.59, 117.72°)
OKLaboklab(49.98% -0.0673 0.0962)
OKLCHoklch(49.98% 0.117 125)
XYZxyz(9.3414, 13.0802, 2.6047)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546E12 #2C126E
analogous
#6E5A12 #546E12 #266E12
triadic
#546E12 #12546E #6E1254
tetradic
#546E12 #126E5A #2C126E #6E1226
square
#546E12 #126E5A #2C126E #6E1226
split-complementary
#546E12 #12266E #5A126E
monochromatic
#141A04 #2C3909 #546E12 #7CA31B #A4D723

Accessibility & contrast

On white

5.81
#546E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#546E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546E12
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546E12#FFFFFF#000000##FFFFFF
##546E121.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#58685D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #546e12;
/* rgb */ color: rgb(84, 110, 18);
/* oklch */ color: oklch(50.0% 0.117 125.0);
Tailwind
colors: {
  custom: {
    50: '#879759',
    500: '#546e12',
    950: '#000000',
  },
}
SCSS
$custom: #546e12;
$custom-light: #879759;
$custom-dark: #000000;
JSON
{
  "hex": "#546e12",
  "rgb": {
    "r": 84,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 76.957,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.11737,
    "h": 125
  },
  "luminance": 0.1308
}

Semantic roles & 50–950 ramp

primary
#546E12
secondary
#5637A5
accent
#39EF6C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546E12

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

Preview Lab → · Contrast checker → · Palette generator →

#546E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva