#54671C#54671C

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

Color values

HEX#54671C
RGBrgb(84, 103, 28)
HSLhsl(75, 57%, 26%)
HSVhsv(75, 73%, 40%)
CMYKcmyk(18.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.69, -18.86, 38.06)
CIE-LCHlch(40.69, 42.48, 116.36°)
OKLaboklab(48.22% -0.0548 0.0857)
OKLCHoklch(48.22% 0.102 122.6)
XYZxyz(8.7161, 11.6691, 2.8916)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54671C #2F1C67
analogous
#67541C #54671C #2E671C
triadic
#54671C #1C5467 #671C54
tetradic
#54671C #1C6754 #2F1C67 #671C2E
square
#54671C #1C6754 #2F1C67 #671C2E
split-complementary
#54671C #1C2E67 #541C67
monochromatic
#141807 #2D370F #54671C #7B9729 #A2C736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54671C#FFFFFF#000000##FFFFFF
##54671C1.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)
#6D6010
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#596258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #54671c;
/* rgb */ color: rgb(84, 103, 28);
/* oklch */ color: oklch(48.2% 0.102 122.6);
Tailwind
colors: {
  custom: {
    50: '#87925d',
    500: '#54671c',
    950: '#000000',
  },
}
SCSS
$custom: #54671c;
$custom-light: #87925d;
$custom-dark: #000000;
JSON
{
  "hex": "#54671c",
  "rgb": {
    "r": 84,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 75.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48222,
    "c": 0.10174,
    "h": 122.6
  },
  "luminance": 0.11669
}

Semantic roles & 50–950 ramp

primary
#54671C
secondary
#59439C
accent
#47E16E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #54671C

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

Preview Lab → · Contrast checker → · Palette generator →

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