#54751D#54751D

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

Color values

HEX#54751D
RGBrgb(84, 117, 29)
HSLhsl(83, 60%, 29%)
HSVhsv(83, 75%, 46%)
CMYKcmyk(28.2%, 0%, 75.2%, 54.1%)
CIE-LABlab(45.21, -25.95, 42.20)
CIE-LCHlch(45.21, 49.54, 121.59°)
OKLaboklab(51.89% -0.0742 0.0945)
OKLCHoklch(51.89% 0.12 128.1)
XYZxyz(10.2392, 14.6959, 3.4593)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751D #3E1D75
analogous
#756A1D #54751D #28751D
triadic
#54751D #1D5475 #751D54
tetradic
#54751D #1D756A #3E1D75 #751D28
square
#54751D #1D756A #3E1D75 #751D28
split-complementary
#54751D #1D2875 #6A1D75
monochromatic
#121906 #314411 #54751D #77A629 #98CF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54751D#FFFFFF#000000##FFFFFF
##54751D1.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)
#7B6C0D
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#576F64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751d;
/* rgb */ color: rgb(84, 117, 29);
/* oklch */ color: oklch(51.9% 0.120 128.1);
Tailwind
colors: {
  custom: {
    50: '#879d5f',
    500: '#54751d',
    950: '#000000',
  },
}
SCSS
$custom: #54751d;
$custom-light: #879d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#54751d",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 82.5,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.12018,
    "h": 128.1
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#54751D
secondary
#6A45A9
accent
#44E380
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751D

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

Preview Lab → · Contrast checker → · Palette generator →

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