#547F18#547F18

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

Color values

HEX#547F18
RGBrgb(84, 127, 24)
HSLhsl(85, 68%, 30%)
HSVhsv(85, 81%, 50%)
CMYKcmyk(33.9%, 0%, 81.1%, 50.2%)
CIE-LABlab(48.42, -31.03, 47.07)
CIE-LCHlch(48.42, 56.37, 123.39°)
OKLaboklab(54.49% -0.0884 0.1039)
OKLCHoklch(54.49% 0.136 130.4)
XYZxyz(11.4103, 17.1291, 3.5690)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547F18 #43187F
analogous
#7F7718 #547F18 #207F18
triadic
#547F18 #18547F #7F1854
tetradic
#547F18 #187F77 #43187F #7F1820
square
#547F18 #187F77 #43187F #7F1820
split-complementary
#547F18 #18207F #77187F
monochromatic
#111A05 #324C0E #547F18 #76B222 #96D938

Accessibility & contrast

On white

4.74
#547F18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #547F18
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547F18#FFFFFF#000000##FFFFFF
##547F181.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #547f18;
/* rgb */ color: rgb(84, 127, 24);
/* oklch */ color: oklch(54.5% 0.136 130.4);
Tailwind
colors: {
  custom: {
    50: '#88a45f',
    500: '#547f18',
    950: '#000000',
  },
}
SCSS
$custom: #547f18;
$custom-light: #88a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#547f18",
  "rgb": {
    "r": 84,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 85.049,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.13643,
    "h": 130.4
  },
  "luminance": 0.1713
}

Semantic roles & 50–950 ramp

primary
#547F18
secondary
#703FB3
accent
#3DEB86
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #547F18

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

Preview Lab → · Contrast checker → · Palette generator →

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