#547E12#547E12

#547E12 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.138 H 129.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#547E12
RGBrgb(84, 126, 18)
HSLhsl(83, 75%, 28%)
HSVhsv(83, 86%, 49%)
CMYKcmyk(33.3%, 0%, 85.7%, 50.6%)
CIE-LABlab(48.07, -30.84, 48.53)
CIE-LCHlch(48.07, 57.51, 122.44°)
OKLaboklab(54.2% -0.0883 0.106)
OKLCHoklch(54.2% 0.138 129.8)
XYZxyz(11.2262, 16.8498, 3.2330)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547E12 #3C127E
analogous
#7E7212 #547E12 #1E7E12
triadic
#547E12 #12547E #7E1254
tetradic
#547E12 #127E72 #3C127E #7E121E
square
#547E12 #127E72 #3C127E #7E121E
split-complementary
#547E12 #121E7E #72127E
monochromatic
#121B04 #30480A #547E12 #78B41A #9AE12A

Accessibility & contrast

On white

4.81
#547E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#547E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547E12
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547E12#FFFFFF#000000##FFFFFF
##547E121.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#57786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #547e12;
/* rgb */ color: rgb(84, 126, 18);
/* oklch */ color: oklch(54.2% 0.138 129.8);
Tailwind
colors: {
  custom: {
    50: '#88a35c',
    500: '#547e12',
    950: '#000000',
  },
}
SCSS
$custom: #547e12;
$custom-light: #88a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#547e12",
  "rgb": {
    "r": 84,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 83.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.13798,
    "h": 129.8
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#547E12
secondary
#6838B4
accent
#36F27F
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #547E12

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

Preview Lab → · Contrast checker → · Palette generator →

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