#547F12#547F12

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

Color values

HEX#547F12
RGBrgb(84, 127, 18)
HSLhsl(84, 75%, 28%)
HSVhsv(84, 86%, 50%)
CMYKcmyk(33.9%, 0%, 85.8%, 50.2%)
CIE-LABlab(48.39, -31.31, 48.82)
CIE-LCHlch(48.39, 58.00, 122.67°)
OKLaboklab(54.46% -0.0895 0.1066)
OKLCHoklch(54.46% 0.139 130)
XYZxyz(11.3547, 17.1069, 3.2758)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547F12 #3D127F
analogous
#7F7312 #547F12 #1D7F12
triadic
#547F12 #12547F #7F1254
tetradic
#547F12 #127F73 #3D127F #7F121D
square
#547F12 #127F73 #3D127F #7F121D
split-complementary
#547F12 #121D7F #73127F
monochromatic
#121B04 #31490A #547F12 #77B51A #99E12B

Accessibility & contrast

On white

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

On black

4.42
#547F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##547F12#FFFFFF#000000##FFFFFF
##547F121.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #547f12;
/* rgb */ color: rgb(84, 127, 18);
/* oklch */ color: oklch(54.5% 0.139 130.0);
Tailwind
colors: {
  custom: {
    50: '#89a45c',
    500: '#547f12',
    950: '#000000',
  },
}
SCSS
$custom: #547f12;
$custom-light: #89a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#547f12",
  "rgb": {
    "r": 84,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 83.67,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54462,
    "c": 0.13924,
    "h": 130
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#547F12
secondary
#6938B5
accent
#36F280
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F04
muted
#7D7F79

Preview Lab

Preview with #547F12

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

Preview Lab → · Contrast checker → · Palette generator →

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