#54862C#54862C

#54862C is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.5% C 0.133 H 133.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#54862C
RGBrgb(84, 134, 44)
HSLhsl(93, 51%, 35%)
HSVhsv(93, 67%, 53%)
CMYKcmyk(37.3%, 0%, 67.2%, 47.5%)
CIE-LABlab(50.82, -32.84, 41.70)
CIE-LCHlch(50.82, 53.08, 128.22°)
OKLaboklab(56.5% -0.0917 0.0957)
OKLCHoklch(56.5% 0.133 133.8)
XYZxyz(12.6356, 19.1163, 5.4064)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54862C #5E2C86
analogous
#81862C #54862C #2C8631
triadic
#54862C #2C5486 #862C54
tetradic
#54862C #2C8186 #5E2C86 #86312C
square
#54862C #2C8186 #5E2C86 #86312C
split-complementary
#54862C #312C86 #862C81
monochromatic
#1A2A0E #37581D #54862C #71B43B #90CB61

Accessibility & contrast

On white

4.35
#54862C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#54862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #54862C
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54862C#FFFFFF#000000##000000
##54862C1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C20
Deuteranopia (green-blind)
#847833
Tritanopia (blue-blind)
#548173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #54862c;
/* rgb */ color: rgb(84, 134, 44);
/* oklch */ color: oklch(56.5% 0.133 133.8);
Tailwind
colors: {
  custom: {
    50: '#88a96a',
    500: '#54862c',
    950: '#000000',
  },
}
SCSS
$custom: #54862c;
$custom-light: #88a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#54862c",
  "rgb": {
    "r": 84,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 93.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56496,
    "c": 0.13258,
    "h": 133.8
  },
  "luminance": 0.19117
}

Semantic roles & 50–950 ramp

primary
#54862C
secondary
#8C5CB1
accent
#4EDA9C
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #54862C

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

Preview Lab → · Contrast checker → · Palette generator →

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