#54831D#54831D

#54831D is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.6% C 0.139 H 131.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#54831D
RGBrgb(84, 131, 29)
HSLhsl(88, 64%, 31%)
HSVhsv(88, 78%, 51%)
CMYKcmyk(35.9%, 0%, 77.9%, 48.6%)
CIE-LABlab(49.74, -32.59, 46.62)
CIE-LCHlch(49.74, 56.88, 124.95°)
OKLaboklab(55.58% -0.0923 0.1038)
OKLCHoklch(55.58% 0.139 131.6)
XYZxyz(11.9941, 18.2057, 4.0442)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54831D #4C1D83
analogous
#837F1D #54831D #21831D
triadic
#54831D #1D5483 #831D54
tetradic
#54831D #1D837F #4C1D83 #831D21
square
#54831D #1D837F #4C1D83 #831D21
split-complementary
#54831D #1D2183 #7F1D83
monochromatic
#141F07 #345112 #54831D #74B528 #93D645

Accessibility & contrast

On white

4.52
#54831D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#54831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54831D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54831D#FFFFFF#000000##000000
##54831D1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54831d;
/* rgb */ color: rgb(84, 131, 29);
/* oklch */ color: oklch(55.6% 0.139 131.6);
Tailwind
colors: {
  custom: {
    50: '#88a761',
    500: '#54831d',
    950: '#000000',
  },
}
SCSS
$custom: #54831d;
$custom-light: #88a761;
$custom-dark: #000000;
JSON
{
  "hex": "#54831d",
  "rgb": {
    "r": 84,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 87.647,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.13888,
    "h": 131.6
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#54831D
secondary
#7946B6
accent
#41E78D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54831D

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

Preview Lab → · Contrast checker → · Palette generator →

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