#54681A#54681A

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

Color values

HEX#54681A
RGBrgb(84, 104, 26)
HSLhsl(75, 60%, 25%)
HSVhsv(75, 75%, 41%)
CMYKcmyk(19.2%, 0%, 75%, 59.2%)
CIE-LABlab(40.99, -19.52, 39.21)
CIE-LCHlch(40.99, 43.80, 116.47°)
OKLaboklab(48.47% -0.0569 0.0878)
OKLCHoklch(48.47% 0.105 122.9)
XYZxyz(8.7930, 11.8600, 2.8030)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54681A #2E1A68
analogous
#68551A #54681A #2D681A
triadic
#54681A #1A5468 #681A54
tetradic
#54681A #1A6855 #2E1A68 #681A2D
square
#54681A #1A6855 #2E1A68 #681A2D
split-complementary
#54681A #1A2D68 #551A68
monochromatic
#141806 #2C370E #54681A #7C9926 #A3CA32

Accessibility & contrast

On white

6.23
#54681A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54681A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54681A#FFFFFF#000000##FFFFFF
##54681A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610D
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#596259
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #54681a;
/* rgb */ color: rgb(84, 104, 26);
/* oklch */ color: oklch(48.5% 0.105 122.9);
Tailwind
colors: {
  custom: {
    50: '#87935c',
    500: '#54681a',
    950: '#000000',
  },
}
SCSS
$custom: #54681a;
$custom-light: #87935c;
$custom-dark: #000000;
JSON
{
  "hex": "#54681a",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 26
  },
  "hsl": {
    "h": 75.385,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48466,
    "c": 0.10457,
    "h": 122.9
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#54681A
secondary
#58409D
accent
#45E36D
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #54681A

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

Preview Lab → · Contrast checker → · Palette generator →

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