#54661F#54661F

#54661F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.098 H 122.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#54661F
RGBrgb(84, 102, 31)
HSLhsl(75, 53%, 26%)
HSVhsv(75, 70%, 40%)
CMYKcmyk(17.6%, 0%, 69.6%, 60%)
CIE-LABlab(40.39, -18.11, 36.43)
CIE-LCHlch(40.39, 40.68, 116.43°)
OKLaboklab(47.99% -0.0525 0.0828)
OKLCHoklch(47.99% 0.098 122.4)
XYZxyz(8.6549, 11.4865, 3.0572)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54661F #311F66
analogous
#66541F #54661F #30661F
triadic
#54661F #1F5466 #661F54
tetradic
#54661F #1F6654 #311F66 #661F30
square
#54661F #1F6654 #311F66 #661F30
split-complementary
#54661F #1F3066 #541F66
monochromatic
#131707 #2D3711 #54661F #7B952D #A1C43C

Accessibility & contrast

On white

6.37
#54661F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#54661F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54661F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54661F#FFFFFF#000000##FFFFFF
##54661F1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6015
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#586158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #54661f;
/* rgb */ color: rgb(84, 102, 31);
/* oklch */ color: oklch(48.0% 0.098 122.4);
Tailwind
colors: {
  custom: {
    50: '#86915f',
    500: '#54661f',
    950: '#000000',
  },
}
SCSS
$custom: #54661f;
$custom-light: #86915f;
$custom-dark: #000000;
JSON
{
  "hex": "#54661f",
  "rgb": {
    "r": 84,
    "g": 102,
    "b": 31
  },
  "hsl": {
    "h": 75.211,
    "s": 53.383,
    "l": 26.078
  },
  "oklch": {
    "l": 0.4799,
    "c": 0.09798,
    "h": 122.4
  },
  "luminance": 0.11486
}

Semantic roles & 50–950 ramp

primary
#54661F
secondary
#5C469A
accent
#4BDD70
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #54661F

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

Preview Lab → · Contrast checker → · Palette generator →

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