#54841C#54841C

#54841C is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 55.8% C 0.141 H 131.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#54841C
RGBrgb(84, 132, 28)
HSLhsl(88, 65%, 31%)
HSVhsv(88, 79%, 52%)
CMYKcmyk(36.4%, 0%, 78.8%, 48.2%)
CIE-LABlab(50.06, -33.11, 47.27)
CIE-LCHlch(50.06, 57.71, 125.00°)
OKLaboklab(55.84% -0.0937 0.105)
OKLCHoklch(55.84% 0.141 131.8)
XYZxyz(12.1169, 18.4707, 4.0252)
Luminance0.1847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54841C #4C1C84
analogous
#84801C #54841C #20841C
triadic
#54841C #1C5484 #841C54
tetradic
#54841C #1C8480 #4C1C84 #841C20
square
#54841C #1C8480 #4C1C84 #841C20
split-complementary
#54841C #1C2084 #801C84
monochromatic
#141F07 #345211 #54841C #74B627 #93D743

Accessibility & contrast

On white

4.47
#54841C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#54841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54841C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54841C#FFFFFF#000000##000000
##54841C1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#557E70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #54841c;
/* rgb */ color: rgb(84, 132, 28);
/* oklch */ color: oklch(55.8% 0.141 131.8);
Tailwind
colors: {
  custom: {
    50: '#89a861',
    500: '#54841c',
    950: '#000000',
  },
}
SCSS
$custom: #54841c;
$custom-light: #89a861;
$custom-dark: #000000;
JSON
{
  "hex": "#54841c",
  "rgb": {
    "r": 84,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 87.692,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.14076,
    "h": 131.8
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#54841C
secondary
#7945B7
accent
#40E88D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #54841C

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

Preview Lab → · Contrast checker → · Palette generator →

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