#54811A#54811A

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

Color values

HEX#54811A
RGBrgb(84, 129, 26)
HSLhsl(86, 66%, 30%)
HSVhsv(86, 80%, 51%)
CMYKcmyk(34.9%, 0%, 79.8%, 49.4%)
CIE-LABlab(49.08, -31.85, 47.02)
CIE-LCHlch(49.08, 56.79, 124.11°)
OKLaboklab(55.03% -0.0905 0.1042)
OKLCHoklch(55.03% 0.138 131)
XYZxyz(11.6928, 17.6595, 3.7696)
Luminance0.1766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54811A #471A81
analogous
#817B1A #54811A #20811A
triadic
#54811A #1A5481 #811A54
tetradic
#54811A #1A817B #471A81 #811A20
square
#54811A #1A817B #471A81 #811A20
split-complementary
#54811A #1A2081 #7B1A81
monochromatic
#121B05 #334E10 #54811A #75B424 #94D83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54811A#FFFFFF#000000##FFFFFF
##54811A1.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)
#877700
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54811a;
/* rgb */ color: rgb(84, 129, 26);
/* oklch */ color: oklch(55.0% 0.138 131.0);
Tailwind
colors: {
  custom: {
    50: '#88a660',
    500: '#54811a',
    950: '#000000',
  },
}
SCSS
$custom: #54811a;
$custom-light: #88a660;
$custom-dark: #000000;
JSON
{
  "hex": "#54811a",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 86.214,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.13796,
    "h": 131
  },
  "luminance": 0.1766
}

Semantic roles & 50–950 ramp

primary
#54811A
secondary
#7442B5
accent
#3EE989
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54811A

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

Preview Lab → · Contrast checker → · Palette generator →

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