#547512#547512

#547512 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.126 H 127.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#547512
RGBrgb(84, 117, 18)
HSLhsl(80, 73%, 26%)
HSVhsv(80, 85%, 46%)
CMYKcmyk(28.2%, 0%, 84.6%, 54.1%)
CIE-LABlab(45.15, -26.55, 45.94)
CIE-LCHlch(45.15, 53.06, 120.03°)
OKLaboklab(51.82% -0.0767 0.1005)
OKLCHoklch(51.82% 0.126 127.4)
XYZxyz(10.1267, 14.6509, 2.8665)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547512 #331275
analogous
#756512 #547512 #237512
triadic
#547512 #125475 #751254
tetradic
#547512 #127565 #331275 #751223
square
#547512 #127565 #331275 #751223
split-complementary
#547512 #122375 #651275
monochromatic
#131B04 #2E400A #547512 #7AAA1A #A0DD24

Accessibility & contrast

On white

5.34
#547512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#547512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547512
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547512#FFFFFF#000000##FFFFFF
##5475121.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#586F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #547512;
/* rgb */ color: rgb(84, 117, 18);
/* oklch */ color: oklch(51.8% 0.126 127.4);
Tailwind
colors: {
  custom: {
    50: '#889d5a',
    500: '#547512',
    950: '#000000',
  },
}
SCSS
$custom: #547512;
$custom-light: #889d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#547512",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 80,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.12645,
    "h": 127.4
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#547512
secondary
#5E37AC
accent
#38F075
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547512

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

Preview Lab → · Contrast checker → · Palette generator →

#547512 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva