#54671A#54671A

#54671A is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.2% C 0.103 H 122.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#54671A
RGBrgb(84, 103, 26)
HSLhsl(75, 60%, 25%)
HSVhsv(75, 75%, 40%)
CMYKcmyk(18.4%, 0%, 74.8%, 59.6%)
CIE-LABlab(40.67, -18.99, 38.89)
CIE-LCHlch(40.67, 43.28, 116.03°)
OKLaboklab(48.21% -0.0554 0.0871)
OKLCHoklch(48.21% 0.103 122.5)
XYZxyz(8.6930, 11.6599, 2.7697)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54671A #2D1A67
analogous
#67531A #54671A #2E671A
triadic
#54671A #1A5467 #671A54
tetradic
#54671A #1A6753 #2D1A67 #671A2E
square
#54671A #1A6753 #2D1A67 #671A2E
split-complementary
#54671A #1A2E67 #531A67
monochromatic
#141806 #2C360E #54671A #7C9826 #A4C933

Accessibility & contrast

On white

6.30
#54671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#54671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54671A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54671A#FFFFFF#000000##FFFFFF
##54671A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600D
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#596158
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #54671a;
/* rgb */ color: rgb(84, 103, 26);
/* oklch */ color: oklch(48.2% 0.103 122.5);
Tailwind
colors: {
  custom: {
    50: '#87925c',
    500: '#54671a',
    950: '#000000',
  },
}
SCSS
$custom: #54671a;
$custom-light: #87925c;
$custom-dark: #000000;
JSON
{
  "hex": "#54671a",
  "rgb": {
    "r": 84,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 74.805,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.10322,
    "h": 122.5
  },
  "luminance": 0.1166
}

Semantic roles & 50–950 ramp

primary
#54671A
secondary
#57409D
accent
#45E36C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #54671A

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

Preview Lab → · Contrast checker → · Palette generator →

#54671A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva