#54811F#54811F

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

Color values

HEX#54811F
RGBrgb(84, 129, 31)
HSLhsl(88, 61%, 31%)
HSVhsv(88, 76%, 51%)
CMYKcmyk(34.9%, 0%, 76%, 49.4%)
CIE-LABlab(49.11, -31.54, 45.28)
CIE-LCHlch(49.11, 55.18, 124.86°)
OKLaboklab(55.07% -0.0893 0.1013)
OKLCHoklch(55.07% 0.135 131.4)
XYZxyz(11.7536, 17.6838, 4.0901)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54811F #4C1F81
analogous
#817D1F #54811F #23811F
triadic
#54811F #1F5481 #811F54
tetradic
#54811F #1F817D #4C1F81 #811F23
square
#54811F #1F817D #4C1F81 #811F23
split-complementary
#54811F #1F2381 #7D1F81
monochromatic
#141E07 #345013 #54811F #74B22B #93D347

Accessibility & contrast

On white

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

On black

4.54
#54811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54811F#FFFFFF#000000##FFFFFF
##54811F1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#567B6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #54811f;
/* rgb */ color: rgb(84, 129, 31);
/* oklch */ color: oklch(55.1% 0.135 131.4);
Tailwind
colors: {
  custom: {
    50: '#88a662',
    500: '#54811f',
    950: '#000000',
  },
}
SCSS
$custom: #54811f;
$custom-light: #88a662;
$custom-dark: #000000;
JSON
{
  "hex": "#54811f",
  "rgb": {
    "r": 84,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 87.551,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.13503,
    "h": 131.4
  },
  "luminance": 0.17684
}

Semantic roles & 50–950 ramp

primary
#54811F
secondary
#7948B4
accent
#43E48D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54811F

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

Preview Lab → · Contrast checker → · Palette generator →

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