#547312#547312

#547312 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.124 H 126.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#547312
RGBrgb(84, 115, 18)
HSLhsl(79, 73%, 26%)
HSVhsv(79, 84%, 45%)
CMYKcmyk(27%, 0%, 84.3%, 54.9%)
CIE-LABlab(44.50, -25.57, 45.36)
CIE-LCHlch(44.50, 52.07, 119.41°)
OKLaboklab(51.3% -0.0741 0.0993)
OKLCHoklch(51.3% 0.124 126.7)
XYZxyz(9.8961, 14.1898, 2.7897)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547312 #311273
analogous
#736112 #547312 #237312
triadic
#547312 #125473 #731254
tetradic
#547312 #127361 #311273 #731223
square
#547312 #127361 #311273 #731223
split-complementary
#547312 #122373 #611273
monochromatic
#131A04 #2D3E0A #547312 #7BA81A #A1DD23

Accessibility & contrast

On white

5.47
#547312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#547312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #547312
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##547312#FFFFFF#000000##FFFFFF
##5473121.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#586D61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #547312;
/* rgb */ color: rgb(84, 115, 18);
/* oklch */ color: oklch(51.3% 0.124 126.7);
Tailwind
colors: {
  custom: {
    50: '#889b5a',
    500: '#547312',
    950: '#000000',
  },
}
SCSS
$custom: #547312;
$custom-light: #889b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#547312",
  "rgb": {
    "r": 84,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 79.175,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51295,
    "c": 0.12387,
    "h": 126.7
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#547312
secondary
#5C37AA
accent
#38F073
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #547312

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

Preview Lab → · Contrast checker → · Palette generator →

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