#546F17#546F17

#546F17 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.3% C 0.116 H 125.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#546F17
RGBrgb(84, 111, 23)
HSLhsl(78, 66%, 26%)
HSVhsv(78, 79%, 44%)
CMYKcmyk(24.3%, 0%, 79.3%, 56.5%)
CIE-LABlab(43.23, -23.32, 42.54)
CIE-LCHlch(43.23, 48.51, 118.73°)
OKLaboklab(50.27% -0.0675 0.0942)
OKLCHoklch(50.27% 0.116 125.6)
XYZxyz(9.4953, 13.3154, 2.8803)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#546F17 #32176F
analogous
#6F5E17 #546F17 #286F17
triadic
#546F17 #17546F #6F1754
tetradic
#546F17 #176F5E #32176F #6F1728
square
#546F17 #176F5E #32176F #6F1728
split-complementary
#546F17 #17286F #5E176F
monochromatic
#131905 #2E3C0C #546F17 #7AA222 #A0D32D

Accessibility & contrast

On white

5.73
#546F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#546F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #546F17
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##546F17#FFFFFF#000000##FFFFFF
##546F171.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#58695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #546f17;
/* rgb */ color: rgb(84, 111, 23);
/* oklch */ color: oklch(50.3% 0.116 125.6);
Tailwind
colors: {
  custom: {
    50: '#87985c',
    500: '#546f17',
    950: '#000000',
  },
}
SCSS
$custom: #546f17;
$custom-light: #87985c;
$custom-dark: #000000;
JSON
{
  "hex": "#546f17",
  "rgb": {
    "r": 84,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 78.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.11592,
    "h": 125.6
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

primary
#546F17
secondary
#5D3DA5
accent
#3FE973
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #546F17

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

Preview Lab → · Contrast checker → · Palette generator →

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