#54942D#54942D

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

Color values

HEX#54942D
RGBrgb(84, 148, 45)
HSLhsl(97, 53%, 38%)
HSVhsv(97, 70%, 58%)
CMYKcmyk(43.2%, 0%, 69.6%, 42%)
CIE-LABlab(55.33, -38.96, 46.06)
CIE-LCHlch(55.33, 60.33, 130.22°)
OKLaboklab(60.19% -0.1083 0.105)
OKLCHoklch(60.19% 0.151 135.9)
XYZxyz(14.7193, 23.2533, 6.1949)
Luminance0.2325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54942D #6D2D94
analogous
#87942D #54942D #2D943A
triadic
#54942D #2D5494 #942D54
tetradic
#54942D #2D8794 #6D2D94 #943A2D
square
#54942D #2D8794 #6D2D94 #943A2D
split-complementary
#54942D #3A2D94 #942D87
monochromatic
#1F3610 #39651F #54942D #6FC33B #91D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54942D#FFFFFF#000000##000000
##54942D1.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)
#99881E
Deuteranopia (green-blind)
#918336
Tritanopia (blue-blind)
#528E7F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #54942d;
/* rgb */ color: rgb(84, 148, 45);
/* oklch */ color: oklch(60.2% 0.151 135.9);
Tailwind
colors: {
  custom: {
    50: '#89b46c',
    500: '#54942d',
    950: '#000000',
  },
}
SCSS
$custom: #54942d;
$custom-light: #89b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#54942d",
  "rgb": {
    "r": 84,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 97.282,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.15087,
    "h": 135.9
  },
  "luminance": 0.23254
}

Semantic roles & 50–950 ramp

primary
#54942D
secondary
#9964B8
accent
#4BDDA6
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #54942D

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

Preview Lab → · Contrast checker → · Palette generator →

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