#54942E#54942E

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

Color values

HEX#54942E
RGBrgb(84, 148, 46)
HSLhsl(98, 53%, 38%)
HSVhsv(98, 69%, 58%)
CMYKcmyk(43.2%, 0%, 68.9%, 42%)
CIE-LABlab(55.34, -38.88, 45.66)
CIE-LCHlch(55.34, 59.97, 130.42°)
OKLaboklab(60.2% -0.108 0.1043)
OKLCHoklch(60.2% 0.15 136)
XYZxyz(14.7388, 23.2610, 6.2975)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54942E #6E2E94
analogous
#87942E #54942E #2E943B
triadic
#54942E #2E5494 #942E54
tetradic
#54942E #2E8794 #6E2E94 #943B2E
square
#54942E #2E8794 #6E2E94 #943B2E
split-complementary
#54942E #3B2E94 #942E87
monochromatic
#1F3711 #3A651F #54942E #6FC33D #91D16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54942E#FFFFFF#000000##000000
##54942E1.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)
#998820
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#528F7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #54942e;
/* rgb */ color: rgb(84, 148, 46);
/* oklch */ color: oklch(60.2% 0.150 136.0);
Tailwind
colors: {
  custom: {
    50: '#89b46c',
    500: '#54942e',
    950: '#000000',
  },
}
SCSS
$custom: #54942e;
$custom-light: #89b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#54942e",
  "rgb": {
    "r": 84,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 97.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60195,
    "c": 0.15014,
    "h": 136
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#54942E
secondary
#9966B8
accent
#4CDCA6
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54942E

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

Preview Lab → · Contrast checker → · Palette generator →

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