#54751B#54751B

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

Color values

HEX#54751B
RGBrgb(84, 117, 27)
HSLhsl(82, 63%, 28%)
HSVhsv(82, 77%, 46%)
CMYKcmyk(28.2%, 0%, 76.9%, 54.1%)
CIE-LABlab(45.20, -26.07, 42.95)
CIE-LCHlch(45.20, 50.25, 121.26°)
OKLaboklab(51.88% -0.0747 0.0958)
OKLCHoklch(51.88% 0.121 128)
XYZxyz(10.2153, 14.6863, 3.3332)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751B #3C1B75
analogous
#75691B #54751B #27751B
triadic
#54751B #1B5475 #751B54
tetradic
#54751B #1B7569 #3C1B75 #751B27
square
#54751B #1B7569 #3C1B75 #751B27
split-complementary
#54751B #1B2775 #691B75
monochromatic
#121906 #304310 #54751B #78A726 #99D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54751B#FFFFFF#000000##FFFFFF
##54751B1.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)
#7B6C09
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#576F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751b;
/* rgb */ color: rgb(84, 117, 27);
/* oklch */ color: oklch(51.9% 0.121 128.0);
Tailwind
colors: {
  custom: {
    50: '#879d5e',
    500: '#54751b',
    950: '#000000',
  },
}
SCSS
$custom: #54751b;
$custom-light: #879d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#54751b",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 82,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51877,
    "c": 0.12148,
    "h": 128
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#54751B
secondary
#6842A9
accent
#42E67E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751B

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

Preview Lab → · Contrast checker → · Palette generator →

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