#54681E#54681E

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

Color values

HEX#54681E
RGBrgb(84, 104, 30)
HSLhsl(76, 55%, 26%)
HSVhsv(76, 71%, 41%)
CMYKcmyk(19.2%, 0%, 71.2%, 59.2%)
CIE-LABlab(41.02, -19.24, 37.54)
CIE-LCHlch(41.02, 42.19, 117.14°)
OKLaboklab(48.5% -0.0557 0.0849)
OKLCHoklch(48.5% 0.102 123.3)
XYZxyz(8.8409, 11.8791, 3.0552)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54681E #321E68
analogous
#68571E #54681E #2F681E
triadic
#54681E #1E5468 #681E54
tetradic
#54681E #1E6857 #321E68 #681E2F
square
#54681E #1E6857 #321E68 #681E2F
split-complementary
#54681E #1E2F68 #571E68
monochromatic
#131807 #2E3910 #54681E #7A982C #A0C63A

Accessibility & contrast

On white

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

On black

3.38
#54681E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##54681E#FFFFFF#000000##FFFFFF
##54681E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #54681e;
/* rgb */ color: rgb(84, 104, 30);
/* oklch */ color: oklch(48.5% 0.102 123.3);
Tailwind
colors: {
  custom: {
    50: '#86935e',
    500: '#54681e',
    950: '#000000',
  },
}
SCSS
$custom: #54681e;
$custom-light: #86935e;
$custom-dark: #000000;
JSON
{
  "hex": "#54681e",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 76.216,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.485,
    "c": 0.10157,
    "h": 123.3
  },
  "luminance": 0.11879
}

Semantic roles & 50–950 ramp

primary
#54681E
secondary
#5D459D
accent
#49DF72
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #54681E

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

Preview Lab → · Contrast checker → · Palette generator →

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