#547F17#547F17

#547F17 is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.5% C 0.137 H 130.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#547F17
RGBrgb(84, 127, 23)
HSLhsl(85, 69%, 29%)
HSVhsv(85, 82%, 50%)
CMYKcmyk(33.9%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.42, -31.08, 47.38)
CIE-LCHlch(48.42, 56.66, 123.26°)
OKLaboklab(54.49% -0.0886 0.1044)
OKLCHoklch(54.49% 0.137 130.3)
XYZxyz(11.4001, 17.1250, 3.5153)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547F17 #42177F
analogous
#7F7617 #547F17 #207F17
triadic
#547F17 #17547F #7F1754
tetradic
#547F17 #177F76 #42177F #7F1720
square
#547F17 #177F76 #42177F #7F1720
split-complementary
#547F17 #17207F #76177F
monochromatic
#111A05 #324B0E #547F17 #76B320 #96DB36

Accessibility & contrast

On white

4.75
#547F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#547F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547F17
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547F17#FFFFFF#000000##FFFFFF
##547F171.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7222
Tritanopia (blue-blind)
#56796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #547f17;
/* rgb */ color: rgb(84, 127, 23);
/* oklch */ color: oklch(54.5% 0.137 130.3);
Tailwind
colors: {
  custom: {
    50: '#88a45e',
    500: '#547f17',
    950: '#000000',
  },
}
SCSS
$custom: #547f17;
$custom-light: #88a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#547f17",
  "rgb": {
    "r": 84,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 84.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.13694,
    "h": 130.3
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#547F17
secondary
#6F3EB4
accent
#3CEC85
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #547F17

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

Preview Lab → · Contrast checker → · Palette generator →

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