#54741D#54741D

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

Color values

HEX#54741D
RGBrgb(84, 116, 29)
HSLhsl(82, 60%, 28%)
HSVhsv(82, 75%, 45%)
CMYKcmyk(27.6%, 0%, 75%, 54.5%)
CIE-LABlab(44.89, -25.45, 41.88)
CIE-LCHlch(44.89, 49.01, 121.29°)
OKLaboklab(51.63% -0.0729 0.0939)
OKLCHoklch(51.63% 0.119 127.8)
XYZxyz(10.1233, 14.4641, 3.4207)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54741D #3D1D74
analogous
#74681D #54741D #28741D
triadic
#54741D #1D5474 #741D54
tetradic
#54741D #1D7468 #3D1D74 #741D28
square
#54741D #1D7468 #3D1D74 #741D28
split-complementary
#54741D #1D2874 #681D74
monochromatic
#121806 #314311 #54741D #77A529 #99CE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54741D#FFFFFF#000000##FFFFFF
##54741D1.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)
#7A6C0D
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#576E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #54741d;
/* rgb */ color: rgb(84, 116, 29);
/* oklch */ color: oklch(51.6% 0.119 127.8);
Tailwind
colors: {
  custom: {
    50: '#879c5f',
    500: '#54741d',
    950: '#000000',
  },
}
SCSS
$custom: #54741d;
$custom-light: #879c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#54741d",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 82.069,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.11882,
    "h": 127.8
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#54741D
secondary
#6945A8
accent
#45E37F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54741D

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

Preview Lab → · Contrast checker → · Palette generator →

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