#54811C#54811C

#54811C is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.0% C 0.137 H 131.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#54811C
RGBrgb(84, 129, 28)
HSLhsl(87, 64%, 31%)
HSVhsv(87, 78%, 51%)
CMYKcmyk(34.9%, 0%, 78.3%, 49.4%)
CIE-LABlab(49.09, -31.73, 46.35)
CIE-LCHlch(49.09, 56.17, 124.40°)
OKLaboklab(55.05% -0.09 0.1031)
OKLCHoklch(55.05% 0.137 131.1)
XYZxyz(11.7159, 17.6687, 3.8915)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54811C #491C81
analogous
#817B1C #54811C #21811C
triadic
#54811C #1C5481 #811C54
tetradic
#54811C #1C817B #491C81 #811C21
square
#54811C #1C817B #491C81 #811C21
split-complementary
#54811C #1C2181 #7B1C81
monochromatic
#131C06 #334F11 #54811C #75B327 #94D642

Accessibility & contrast

On white

4.63
#54811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#54811C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #54811C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54811C#FFFFFF#000000##FFFFFF
##54811C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54811c;
/* rgb */ color: rgb(84, 129, 28);
/* oklch */ color: oklch(55.0% 0.137 131.1);
Tailwind
colors: {
  custom: {
    50: '#88a661',
    500: '#54811c',
    950: '#000000',
  },
}
SCSS
$custom: #54811c;
$custom-light: #88a661;
$custom-dark: #000000;
JSON
{
  "hex": "#54811c",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 86.733,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.13683,
    "h": 131.1
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#54811C
secondary
#7644B4
accent
#40E78B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54811C

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

Preview Lab → · Contrast checker → · Palette generator →

#54811C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva