#54912E#54912E

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

Color values

HEX#54912E
RGBrgb(84, 145, 46)
HSLhsl(97, 52%, 37%)
HSVhsv(97, 68%, 57%)
CMYKcmyk(42.1%, 0%, 68.3%, 43.1%)
CIE-LABlab(54.38, -37.58, 44.64)
CIE-LCHlch(54.38, 58.35, 130.10°)
OKLaboklab(59.41% -0.1045 0.1022)
OKLCHoklch(59.41% 0.146 135.6)
XYZxyz(14.2743, 22.3321, 6.1426)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54912E #6B2E91
analogous
#85912E #54912E #2E913A
triadic
#54912E #2E5491 #912E54
tetradic
#54912E #2E8591 #6B2E91 #913A2E
square
#54912E #2E8591 #6B2E91 #913A2E
split-complementary
#54912E #3A2E91 #912E85
monochromatic
#1E3411 #39631F #54912E #6FBF3D #91D06A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54912E#FFFFFF#000000##000000
##54912E1.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)
#968520
Deuteranopia (green-blind)
#8E8037
Tritanopia (blue-blind)
#528C7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #54912e;
/* rgb */ color: rgb(84, 145, 46);
/* oklch */ color: oklch(59.4% 0.146 135.6);
Tailwind
colors: {
  custom: {
    50: '#89b26c',
    500: '#54912e',
    950: '#000000',
  },
}
SCSS
$custom: #54912e;
$custom-light: #89b26c;
$custom-dark: #000000;
JSON
{
  "hex": "#54912e",
  "rgb": {
    "r": 84,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 96.97,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.14612,
    "h": 135.6
  },
  "luminance": 0.22333
}

Semantic roles & 50–950 ramp

primary
#54912E
secondary
#9764B7
accent
#4DDBA4
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54912E

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

Preview Lab → · Contrast checker → · Palette generator →

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