#54751E#54751E

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

Color values

HEX#54751E
RGBrgb(84, 117, 30)
HSLhsl(83, 59%, 29%)
HSVhsv(83, 74%, 46%)
CMYKcmyk(28.2%, 0%, 74.4%, 54.1%)
CIE-LABlab(45.22, -25.88, 41.81)
CIE-LCHlch(45.22, 49.17, 121.76°)
OKLaboklab(51.9% -0.0739 0.0939)
OKLCHoklch(51.9% 0.12 128.2)
XYZxyz(10.2518, 14.7009, 3.5255)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751E #3F1E75
analogous
#756B1E #54751E #28751E
triadic
#54751E #1E5475 #751E54
tetradic
#54751E #1E756B #3F1E75 #751E28
square
#54751E #1E756B #3F1E75 #751E28
split-complementary
#54751E #1E2875 #6B1E75
monochromatic
#111806 #314412 #54751E #77A62A #98CE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54751E#FFFFFF#000000##FFFFFF
##54751E1.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)
#7B6C0F
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#577064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751e;
/* rgb */ color: rgb(84, 117, 30);
/* oklch */ color: oklch(51.9% 0.119 128.2);
Tailwind
colors: {
  custom: {
    50: '#879d60',
    500: '#54751e',
    950: '#000000',
  },
}
SCSS
$custom: #54751e;
$custom-light: #879d60;
$custom-dark: #000000;
JSON
{
  "hex": "#54751e",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 82.759,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.519,
    "c": 0.1195,
    "h": 128.2
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#54751E
secondary
#6B46A9
accent
#45E281
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751E

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

Preview Lab → · Contrast checker → · Palette generator →

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