#54831E#54831E

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

Color values

HEX#54831E
RGBrgb(84, 131, 30)
HSLhsl(88, 63%, 32%)
HSVhsv(88, 77%, 51%)
CMYKcmyk(35.9%, 0%, 77.1%, 48.6%)
CIE-LABlab(49.75, -32.53, 46.27)
CIE-LCHlch(49.75, 56.56, 125.11°)
OKLaboklab(55.59% -0.092 0.1032)
OKLCHoklch(55.59% 0.138 131.7)
XYZxyz(12.0067, 18.2107, 4.1104)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54831E #4D1E83
analogous
#83801E #54831E #21831E
triadic
#54831E #1E5483 #831E54
tetradic
#54831E #1E8380 #4D1E83 #831E21
square
#54831E #1E8380 #4D1E83 #831E21
split-complementary
#54831E #1E2183 #801E83
monochromatic
#141F07 #345113 #54831E #74B529 #93D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54831E#FFFFFF#000000##000000
##54831E1.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)
#897908
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#557D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54831e;
/* rgb */ color: rgb(84, 131, 30);
/* oklch */ color: oklch(55.6% 0.138 131.7);
Tailwind
colors: {
  custom: {
    50: '#88a762',
    500: '#54831e',
    950: '#000000',
  },
}
SCSS
$custom: #54831e;
$custom-light: #88a762;
$custom-dark: #000000;
JSON
{
  "hex": "#54831e",
  "rgb": {
    "r": 84,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 87.921,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.13829,
    "h": 131.7
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#54831E
secondary
#7B47B6
accent
#42E68E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54831E

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

Preview Lab → · Contrast checker → · Palette generator →

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