#54831A#54831A

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

Color values

HEX#54831A
RGBrgb(84, 131, 26)
HSLhsl(87, 67%, 31%)
HSVhsv(87, 80%, 51%)
CMYKcmyk(35.9%, 0%, 80.2%, 48.6%)
CIE-LABlab(49.73, -32.76, 47.63)
CIE-LCHlch(49.73, 57.81, 124.52°)
OKLaboklab(55.56% -0.0929 0.1054)
OKLCHoklch(55.56% 0.141 131.4)
XYZxyz(11.9588, 18.1915, 3.8583)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54831A #491A83
analogous
#837D1A #54831A #1F831A
triadic
#54831A #1A5483 #831A54
tetradic
#54831A #1A837D #491A83 #831A1F
square
#54831A #1A837D #491A83 #831A1F
split-complementary
#54831A #1A1F83 #7D1A83
monochromatic
#131D06 #335010 #54831A #75B624 #94D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54831A#FFFFFF#000000##000000
##54831A1.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)
#897900
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#567D6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #54831a;
/* rgb */ color: rgb(84, 131, 26);
/* oklch */ color: oklch(55.6% 0.141 131.4);
Tailwind
colors: {
  custom: {
    50: '#89a760',
    500: '#54831a',
    950: '#000000',
  },
}
SCSS
$custom: #54831a;
$custom-light: #89a760;
$custom-dark: #000000;
JSON
{
  "hex": "#54831a",
  "rgb": {
    "r": 84,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 86.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.14055,
    "h": 131.4
  },
  "luminance": 0.18192
}

Semantic roles & 50–950 ramp

primary
#54831A
secondary
#7642B7
accent
#3EEA8B
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #54831A

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

Preview Lab → · Contrast checker → · Palette generator →

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