#54912F#54912F

#54912F is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.4% C 0.145 H 135.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#54912F
RGBrgb(84, 145, 47)
HSLhsl(97, 51%, 38%)
HSVhsv(97, 68%, 57%)
CMYKcmyk(42.1%, 0%, 67.6%, 43.1%)
CIE-LABlab(54.39, -37.49, 44.21)
CIE-LCHlch(54.39, 57.97, 130.30°)
OKLaboklab(59.42% -0.1042 0.1014)
OKLCHoklch(59.42% 0.145 135.8)
XYZxyz(14.2943, 22.3401, 6.2477)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54912F #6C2F91
analogous
#85912F #54912F #2F913B
triadic
#54912F #2F5491 #912F54
tetradic
#54912F #2F8591 #6C2F91 #913B2F
square
#54912F #2F8591 #6C2F91 #913B2F
split-complementary
#54912F #3B2F91 #912F85
monochromatic
#1E3511 #396320 #54912F #6FBF3E #91CF6B

Accessibility & contrast

On white

3.84
#54912F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#54912F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54912F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54912F#FFFFFF#000000##000000
##54912F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#528C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #54912f;
/* rgb */ color: rgb(84, 145, 47);
/* oklch */ color: oklch(59.4% 0.145 135.8);
Tailwind
colors: {
  custom: {
    50: '#89b26d',
    500: '#54912f',
    950: '#000000',
  },
}
SCSS
$custom: #54912f;
$custom-light: #89b26d;
$custom-dark: #000000;
JSON
{
  "hex": "#54912f",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 47
  },
  "hsl": {
    "h": 97.347,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.14537,
    "h": 135.8
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#54912F
secondary
#9865B6
accent
#4DDBA5
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54912F

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

Preview Lab → · Contrast checker → · Palette generator →

#54912F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva