#54731C#54731C

#54731C is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.118 H 127.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#54731C
RGBrgb(84, 115, 28)
HSLhsl(81, 61%, 28%)
HSVhsv(81, 76%, 45%)
CMYKcmyk(27%, 0%, 75.7%, 54.9%)
CIE-LABlab(44.56, -25.02, 41.94)
CIE-LCHlch(44.56, 48.84, 120.82°)
OKLaboklab(51.36% -0.0718 0.0938)
OKLCHoklch(51.36% 0.118 127.4)
XYZxyz(9.9965, 14.2299, 3.3184)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54731C #3B1C73
analogous
#73661C #54731C #29731C
triadic
#54731C #1C5473 #731C54
tetradic
#54731C #1C7366 #3B1C73 #731C29
square
#54731C #1C7366 #3B1C73 #731C29
split-complementary
#54731C #1C2973 #661C73
monochromatic
#121906 #304210 #54731C #78A428 #9ACF3A

Accessibility & contrast

On white

5.46
#54731C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#54731C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54731C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54731C#FFFFFF#000000##FFFFFF
##54731C1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0C
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#576D62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #54731c;
/* rgb */ color: rgb(84, 115, 28);
/* oklch */ color: oklch(51.4% 0.118 127.4);
Tailwind
colors: {
  custom: {
    50: '#879b5f',
    500: '#54731c',
    950: '#000000',
  },
}
SCSS
$custom: #54731c;
$custom-light: #879b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#54731c",
  "rgb": {
    "r": 84,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 81.379,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51359,
    "c": 0.11813,
    "h": 127.4
  },
  "luminance": 0.1423
}

Semantic roles & 50–950 ramp

primary
#54731C
secondary
#6743A7
accent
#44E47D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54731C

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

Preview Lab → · Contrast checker → · Palette generator →

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