#547F1F#547F1F

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

Color values

HEX#547F1F
RGBrgb(84, 127, 31)
HSLhsl(87, 61%, 31%)
HSVhsv(87, 76%, 50%)
CMYKcmyk(33.9%, 0%, 75.6%, 50.2%)
CIE-LABlab(48.46, -30.61, 44.64)
CIE-LCHlch(48.46, 54.13, 124.44°)
OKLaboklab(54.54% -0.0867 0.1)
OKLCHoklch(54.54% 0.132 130.9)
XYZxyz(11.4928, 17.1621, 4.0031)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#547F1F #4A1F7F
analogous
#7F7A1F #547F1F #247F1F
triadic
#547F1F #1F547F #7F1F54
tetradic
#547F1F #1F7F7A #4A1F7F #7F1F24
square
#547F1F #1F7F7A #4A1F7F #7F1F24
split-complementary
#547F1F #1F247F #7A1F7F
monochromatic
#131D07 #334E13 #547F1F #75B02B #93D246

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##547F1F#FFFFFF#000000##FFFFFF
##547F1F1.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)
#85750D
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#56796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #547f1f;
/* rgb */ color: rgb(84, 127, 31);
/* oklch */ color: oklch(54.5% 0.132 130.9);
Tailwind
colors: {
  custom: {
    50: '#88a462',
    500: '#547f1f',
    950: '#000000',
  },
}
SCSS
$custom: #547f1f;
$custom-light: #88a462;
$custom-dark: #000000;
JSON
{
  "hex": "#547f1f",
  "rgb": {
    "r": 84,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 86.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5454,
    "c": 0.13236,
    "h": 130.9
  },
  "luminance": 0.17162
}

Semantic roles & 50–950 ramp

primary
#547F1F
secondary
#7748B2
accent
#44E48C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #547F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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