#54831C#54831C

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

Color values

HEX#54831C
RGBrgb(84, 131, 28)
HSLhsl(87, 65%, 31%)
HSVhsv(87, 79%, 51%)
CMYKcmyk(35.9%, 0%, 78.6%, 48.6%)
CIE-LABlab(49.74, -32.65, 46.97)
CIE-LCHlch(49.74, 57.20, 124.81°)
OKLaboklab(55.57% -0.0925 0.1044)
OKLCHoklch(55.57% 0.139 131.5)
XYZxyz(11.9819, 18.2008, 3.9802)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54831C #4B1C83
analogous
#837E1C #54831C #20831C
triadic
#54831C #1C5483 #831C54
tetradic
#54831C #1C837E #4B1C83 #831C20
square
#54831C #1C837E #4B1C83 #831C20
split-complementary
#54831C #1C2083 #7E1C83
monochromatic
#131E06 #345111 #54831C #74B527 #93D743

Accessibility & contrast

On white

4.53
#54831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##54831C#FFFFFF#000000##000000
##54831C1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54831c;
/* rgb */ color: rgb(84, 131, 28);
/* oklch */ color: oklch(55.6% 0.139 131.5);
Tailwind
colors: {
  custom: {
    50: '#88a761',
    500: '#54831c',
    950: '#000000',
  },
}
SCSS
$custom: #54831c;
$custom-light: #88a761;
$custom-dark: #000000;
JSON
{
  "hex": "#54831c",
  "rgb": {
    "r": 84,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 87.379,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.13945,
    "h": 131.5
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#54831C
secondary
#7845B6
accent
#40E88D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54831C

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

Preview Lab → · Contrast checker → · Palette generator →

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