#54942A#54942A

#54942A is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.2% C 0.153 H 135.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#54942A
RGBrgb(84, 148, 42)
HSLhsl(96, 56%, 37%)
HSVhsv(96, 72%, 58%)
CMYKcmyk(43.2%, 0%, 71.6%, 42%)
CIE-LABlab(55.31, -39.20, 47.26)
CIE-LCHlch(55.31, 61.40, 129.68°)
OKLaboklab(60.16% -0.1092 0.1071)
OKLCHoklch(60.16% 0.153 135.5)
XYZxyz(14.6636, 23.2310, 5.9014)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54942A #6A2A94
analogous
#89942A #54942A #2A9435
triadic
#54942A #2A5494 #942A54
tetradic
#54942A #2A8994 #6A2A94 #94352A
square
#54942A #2A8994 #6A2A94 #94352A
split-complementary
#54942A #352A94 #942A89
monochromatic
#1E350F #39641C #54942A #6FC438 #91D365

Accessibility & contrast

On white

3.72
#54942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#54942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54942A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54942A#FFFFFF#000000##000000
##54942A1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998819
Deuteranopia (green-blind)
#918234
Tritanopia (blue-blind)
#528E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #54942a;
/* rgb */ color: rgb(84, 148, 42);
/* oklch */ color: oklch(60.2% 0.153 135.5);
Tailwind
colors: {
  custom: {
    50: '#8ab46a',
    500: '#54942a',
    950: '#000000',
  },
}
SCSS
$custom: #54942a;
$custom-light: #8ab46a;
$custom-dark: #000000;
JSON
{
  "hex": "#54942a",
  "rgb": {
    "r": 84,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 96.226,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60159,
    "c": 0.15295,
    "h": 135.5
  },
  "luminance": 0.23232
}

Semantic roles & 50–950 ramp

primary
#54942A
secondary
#9660B9
accent
#49DFA4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54942A

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

Preview Lab → · Contrast checker → · Palette generator →

#54942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva