#54741F#54741F

#54741F is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.117 H 128.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#54741F
RGBrgb(84, 116, 31)
HSLhsl(83, 58%, 29%)
HSVhsv(83, 73%, 45%)
CMYKcmyk(27.6%, 0%, 73.3%, 54.5%)
CIE-LABlab(44.91, -25.32, 41.09)
CIE-LCHlch(44.91, 48.26, 121.64°)
OKLaboklab(51.65% -0.0723 0.0925)
OKLCHoklch(51.65% 0.117 128)
XYZxyz(10.1489, 14.4743, 3.5552)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54741F #3F1F74
analogous
#746A1F #54741F #2A741F
triadic
#54741F #1F5474 #741F54
tetradic
#54741F #1F746A #3F1F74 #741F2A
square
#54741F #1F746A #3F1F74 #741F2A
split-complementary
#54741F #1F2A74 #6A1F74
monochromatic
#111806 #314412 #54741F #77A42C #98CC41

Accessibility & contrast

On white

5.39
#54741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#54741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54741F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54741F#FFFFFF#000000##FFFFFF
##54741F1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#576F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #54741f;
/* rgb */ color: rgb(84, 116, 31);
/* oklch */ color: oklch(51.6% 0.117 128.0);
Tailwind
colors: {
  custom: {
    50: '#879c60',
    500: '#54741f',
    950: '#000000',
  },
}
SCSS
$custom: #54741f;
$custom-light: #879c60;
$custom-dark: #000000;
JSON
{
  "hex": "#54741f",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 82.588,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.11743,
    "h": 128
  },
  "luminance": 0.14475
}

Semantic roles & 50–950 ramp

primary
#54741F
secondary
#6B47A8
accent
#47E181
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54741F

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

Preview Lab → · Contrast checker → · Palette generator →

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