#54751C#54751C

#54751C 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#54751C
RGBrgb(84, 117, 28)
HSLhsl(82, 61%, 28%)
HSVhsv(82, 76%, 46%)
CMYKcmyk(28.2%, 0%, 76.1%, 54.1%)
CIE-LABlab(45.21, -26.01, 42.58)
CIE-LCHlch(45.21, 49.90, 121.42°)
OKLaboklab(51.89% -0.0745 0.0952)
OKLCHoklch(51.89% 0.121 128)
XYZxyz(10.2270, 14.6910, 3.3952)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751C #3D1C75
analogous
#75691C #54751C #27751C
triadic
#54751C #1C5475 #751C54
tetradic
#54751C #1C7569 #3D1C75 #751C27
square
#54751C #1C7569 #3D1C75 #751C27
split-complementary
#54751C #1C2775 #691C75
monochromatic
#121906 #314410 #54751C #77A628 #99D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54751C#FFFFFF#000000##FFFFFF
##54751C1.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)
#7B6C0B
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#576F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751c;
/* rgb */ color: rgb(84, 117, 28);
/* oklch */ color: oklch(51.9% 0.121 128.0);
Tailwind
colors: {
  custom: {
    50: '#879d5f',
    500: '#54751c',
    950: '#000000',
  },
}
SCSS
$custom: #54751c;
$custom-light: #879d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#54751c",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 82.247,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51885,
    "c": 0.12084,
    "h": 128
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

primary
#54751C
secondary
#6944A9
accent
#43E47F
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751C

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

Preview Lab → · Contrast checker → · Palette generator →

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