#54751F#54751F

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

Color values

HEX#54751F
RGBrgb(84, 117, 31)
HSLhsl(83, 58%, 29%)
HSVhsv(83, 74%, 46%)
CMYKcmyk(28.2%, 0%, 73.5%, 54.1%)
CIE-LABlab(45.23, -25.81, 41.41)
CIE-LCHlch(45.23, 48.80, 121.93°)
OKLaboklab(51.91% -0.0737 0.0932)
OKLCHoklch(51.91% 0.119 128.3)
XYZxyz(10.2648, 14.7061, 3.5938)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54751F #401F75
analogous
#756B1F #54751F #29751F
triadic
#54751F #1F5475 #751F54
tetradic
#54751F #1F756B #401F75 #751F29
square
#54751F #1F756B #401F75 #751F29
split-complementary
#54751F #1F2975 #6B1F75
monochromatic
#111806 #314512 #54751F #77A52C #97CD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54751F#FFFFFF#000000##FFFFFF
##54751F1.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)
#7B6C11
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#577064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #54751f;
/* rgb */ color: rgb(84, 117, 31);
/* oklch */ color: oklch(51.9% 0.119 128.3);
Tailwind
colors: {
  custom: {
    50: '#879d61',
    500: '#54751f',
    950: '#000000',
  },
}
SCSS
$custom: #54751f;
$custom-light: #879d61;
$custom-dark: #000000;
JSON
{
  "hex": "#54751f",
  "rgb": {
    "r": 84,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 83.023,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.1188,
    "h": 128.3
  },
  "luminance": 0.14706
}

Semantic roles & 50–950 ramp

primary
#54751F
secondary
#6D47A9
accent
#46E182
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54751F

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

Preview Lab → · Contrast checker → · Palette generator →

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