#54751A#54751A

#54751A is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.122 H 127.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#54751A
RGBrgb(84, 117, 26)
HSLhsl(82, 64%, 28%)
HSVhsv(82, 78%, 46%)
CMYKcmyk(28.2%, 0%, 77.8%, 54.1%)
CIE-LABlab(45.20, -26.14, 43.32)
CIE-LCHlch(45.20, 50.59, 121.10°)
OKLaboklab(51.87% -0.075 0.0964)
OKLCHoklch(51.87% 0.122 127.9)
XYZxyz(10.2039, 14.6817, 3.2733)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751A #3B1A75
analogous
#75681A #54751A #27751A
triadic
#54751A #1A5475 #751A54
tetradic
#54751A #1A7568 #3B1A75 #751A27
square
#54751A #1A7568 #3B1A75 #751A27
split-complementary
#54751A #1A2775 #681A75
monochromatic
#121906 #30430F #54751A #78A725 #9AD337

Accessibility & contrast

On white

5.33
#54751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#54751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54751A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54751A#FFFFFF#000000##FFFFFF
##54751A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#576F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751a;
/* rgb */ color: rgb(84, 117, 26);
/* oklch */ color: oklch(51.9% 0.122 127.9);
Tailwind
colors: {
  custom: {
    50: '#879d5e',
    500: '#54751a',
    950: '#000000',
  },
}
SCSS
$custom: #54751a;
$custom-light: #879d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#54751a",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 81.758,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.12211,
    "h": 127.9
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#54751A
secondary
#6741AA
accent
#41E77D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751A

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

Preview Lab → · Contrast checker → · Palette generator →

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