#54741A#54741A

#54741A is a mid, vivid yellow-green. Relative luminance 0.144; OKLCH L 51.6% C 0.121 H 127.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#54741A
RGBrgb(84, 116, 26)
HSLhsl(81, 63%, 28%)
HSVhsv(81, 78%, 45%)
CMYKcmyk(27.6%, 0%, 77.6%, 54.5%)
CIE-LABlab(44.87, -25.64, 43.01)
CIE-LCHlch(44.87, 50.07, 120.81°)
OKLaboklab(51.61% -0.0736 0.0957)
OKLCHoklch(51.61% 0.121 127.6)
XYZxyz(10.0880, 14.4500, 3.2347)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54741A #3A1A74
analogous
#74671A #54741A #27741A
triadic
#54741A #1A5474 #741A54
tetradic
#54741A #1A7467 #3A1A74 #741A27
square
#54741A #1A7467 #3A1A74 #741A27
split-complementary
#54741A #1A2774 #671A74
monochromatic
#121906 #30420F #54741A #78A625 #9BD236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54741A#FFFFFF#000000##FFFFFF
##54741A1.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)
#7A6C07
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#576E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #54741a;
/* rgb */ color: rgb(84, 116, 26);
/* oklch */ color: oklch(51.6% 0.121 127.6);
Tailwind
colors: {
  custom: {
    50: '#879c5e',
    500: '#54741a',
    950: '#000000',
  },
}
SCSS
$custom: #54741a;
$custom-light: #879c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#54741a",
  "rgb": {
    "r": 84,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 81.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.12078,
    "h": 127.6
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#54741A
secondary
#6641A9
accent
#41E67C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54741A

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

Preview Lab → · Contrast checker → · Palette generator →

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