#54731F#54731F

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

Color values

HEX#54731F
RGBrgb(84, 115, 31)
HSLhsl(82, 58%, 29%)
HSVhsv(82, 73%, 45%)
CMYKcmyk(27%, 0%, 73%, 54.9%)
CIE-LABlab(44.58, -24.82, 40.76)
CIE-LCHlch(44.58, 47.72, 121.34°)
OKLaboklab(51.38% -0.0709 0.0918)
OKLCHoklch(51.38% 0.116 127.7)
XYZxyz(10.0342, 14.2450, 3.5170)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54731F #3E1F73
analogous
#73681F #54731F #2A731F
triadic
#54731F #1F5473 #731F54
tetradic
#54731F #1F7368 #3E1F73 #731F2A
square
#54731F #1F7368 #3E1F73 #731F2A
split-complementary
#54731F #1F2A73 #681F73
monochromatic
#121806 #314312 #54731F #77A32C #98CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54731F#FFFFFF#000000##FFFFFF
##54731F1.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)
#796B11
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#576E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #54731f;
/* rgb */ color: rgb(84, 115, 31);
/* oklch */ color: oklch(51.4% 0.116 127.7);
Tailwind
colors: {
  custom: {
    50: '#879b60',
    500: '#54731f',
    950: '#000000',
  },
}
SCSS
$custom: #54731f;
$custom-light: #879b60;
$custom-dark: #000000;
JSON
{
  "hex": "#54731f",
  "rgb": {
    "r": 84,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 82.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51384,
    "c": 0.11605,
    "h": 127.7
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#54731F
secondary
#6A47A7
accent
#47E180
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54731F

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

Preview Lab → · Contrast checker → · Palette generator →

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