#54741C#54741C

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

Color values

HEX#54741C
RGBrgb(84, 116, 28)
HSLhsl(82, 61%, 28%)
HSVhsv(82, 76%, 45%)
CMYKcmyk(27.6%, 0%, 75.9%, 54.5%)
CIE-LABlab(44.88, -25.52, 42.26)
CIE-LCHlch(44.88, 49.37, 121.12°)
OKLaboklab(51.62% -0.0731 0.0945)
OKLCHoklch(51.62% 0.119 127.7)
XYZxyz(10.1112, 14.4592, 3.3566)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54741C #3C1C74
analogous
#74681C #54741C #28741C
triadic
#54741C #1C5474 #741C54
tetradic
#54741C #1C7468 #3C1C74 #741C28
square
#54741C #1C7468 #3C1C74 #741C28
split-complementary
#54741C #1C2874 #681C74
monochromatic
#121906 #304310 #54741C #78A528 #99D03B

Accessibility & contrast

On white

5.40
#54741C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54741C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54741C#FFFFFF#000000##FFFFFF
##54741C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0B
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#576E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #54741c;
/* rgb */ color: rgb(84, 116, 28);
/* oklch */ color: oklch(51.6% 0.119 127.7);
Tailwind
colors: {
  custom: {
    50: '#879c5f',
    500: '#54741c',
    950: '#000000',
  },
}
SCSS
$custom: #54741c;
$custom-light: #879c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#54741c",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 81.818,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.11949,
    "h": 127.7
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#54741C
secondary
#6843A8
accent
#44E47E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54741C

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

Preview Lab → · Contrast checker → · Palette generator →

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