#54671B#54671B

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

Color values

HEX#54671B
RGBrgb(84, 103, 27)
HSLhsl(75, 58%, 25%)
HSVhsv(75, 74%, 40%)
CMYKcmyk(18.4%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.68, -18.93, 38.48)
CIE-LCHlch(40.68, 42.88, 116.19°)
OKLaboklab(48.21% -0.0551 0.0864)
OKLCHoklch(48.21% 0.102 122.5)
XYZxyz(8.7043, 11.6644, 2.8296)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54671B #2E1B67
analogous
#67541B #54671B #2E671B
triadic
#54671B #1B5467 #671B54
tetradic
#54671B #1B6754 #2E1B67 #671B2E
square
#54671B #1B6754 #2E1B67 #671B2E
split-complementary
#54671B #1B2E67 #541B67
monochromatic
#141806 #2C370E #54671B #7C9728 #A3C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54671B#FFFFFF#000000##FFFFFF
##54671B1.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)
#6D600F
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#596258
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #54671b;
/* rgb */ color: rgb(84, 103, 27);
/* oklch */ color: oklch(48.2% 0.102 122.5);
Tailwind
colors: {
  custom: {
    50: '#87925d',
    500: '#54671b',
    950: '#000000',
  },
}
SCSS
$custom: #54671b;
$custom-light: #87925d;
$custom-dark: #000000;
JSON
{
  "hex": "#54671b",
  "rgb": {
    "r": 84,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 75,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48214,
    "c": 0.10249,
    "h": 122.5
  },
  "luminance": 0.11664
}

Semantic roles & 50–950 ramp

primary
#54671B
secondary
#58429C
accent
#46E26D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #54671B

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

Preview Lab → · Contrast checker → · Palette generator →

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