#54681C#54681C

#54681C is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.103 H 123.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#54681C
RGBrgb(84, 104, 28)
HSLhsl(76, 58%, 26%)
HSVhsv(76, 73%, 41%)
CMYKcmyk(19.2%, 0%, 73.1%, 59.2%)
CIE-LABlab(41.01, -19.39, 38.39)
CIE-LCHlch(41.01, 43.01, 116.79°)
OKLaboklab(48.48% -0.0563 0.0864)
OKLCHoklch(48.48% 0.103 123.1)
XYZxyz(8.8162, 11.8692, 2.9249)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54681C #301C68
analogous
#68561C #54681C #2E681C
triadic
#54681C #1C5468 #681C54
tetradic
#54681C #1C6856 #301C68 #681C2E
square
#54681C #1C6856 #301C68 #681C2E
split-complementary
#54681C #1C2E68 #561C68
monochromatic
#131806 #2D380F #54681C #7B9829 #A2C836

Accessibility & contrast

On white

6.22
#54681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#54681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54681C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54681C#FFFFFF#000000##FFFFFF
##54681C1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#586359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #54681c;
/* rgb */ color: rgb(84, 104, 28);
/* oklch */ color: oklch(48.5% 0.103 123.1);
Tailwind
colors: {
  custom: {
    50: '#87935d',
    500: '#54681c',
    950: '#000000',
  },
}
SCSS
$custom: #54681c;
$custom-light: #87935d;
$custom-dark: #000000;
JSON
{
  "hex": "#54681c",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 75.789,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.10311,
    "h": 123.1
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#54681C
secondary
#5B439D
accent
#47E16F
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #54681C

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

Preview Lab → · Contrast checker → · Palette generator →

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