#54731E#54731E

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

Color values

HEX#54731E
RGBrgb(84, 115, 30)
HSLhsl(82, 59%, 28%)
HSVhsv(82, 74%, 45%)
CMYKcmyk(27%, 0%, 73.9%, 54.9%)
CIE-LABlab(44.57, -24.89, 41.16)
CIE-LCHlch(44.57, 48.10, 121.16°)
OKLaboklab(51.38% -0.0712 0.0925)
OKLCHoklch(51.38% 0.117 127.6)
XYZxyz(10.0212, 14.2398, 3.4486)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54731E #3D1E73
analogous
#73671E #54731E #29731E
triadic
#54731E #1E5473 #731E54
tetradic
#54731E #1E7367 #3D1E73 #731E29
square
#54731E #1E7367 #3D1E73 #731E29
split-complementary
#54731E #1E2973 #671E73
monochromatic
#121806 #314211 #54731E #77A42B #99CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54731E#FFFFFF#000000##FFFFFF
##54731E1.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)
#796B10
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#576E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #54731e;
/* rgb */ color: rgb(84, 115, 30);
/* oklch */ color: oklch(51.4% 0.117 127.6);
Tailwind
colors: {
  custom: {
    50: '#879b60',
    500: '#54731e',
    950: '#000000',
  },
}
SCSS
$custom: #54731e;
$custom-light: #879b60;
$custom-dark: #000000;
JSON
{
  "hex": "#54731e",
  "rgb": {
    "r": 84,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 81.882,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.11676,
    "h": 127.6
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#54731E
secondary
#6946A7
accent
#46E27F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54731E

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

Preview Lab → · Contrast checker → · Palette generator →

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