#54681B#54681B

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

Color values

HEX#54681B
RGBrgb(84, 104, 27)
HSLhsl(76, 59%, 26%)
HSVhsv(76, 74%, 41%)
CMYKcmyk(19.2%, 0%, 74%, 59.2%)
CIE-LABlab(41.00, -19.46, 38.80)
CIE-LCHlch(41.00, 43.41, 116.63°)
OKLaboklab(48.47% -0.0566 0.0871)
OKLCHoklch(48.47% 0.104 123)
XYZxyz(8.8044, 11.8645, 2.8629)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54681B #2F1B68
analogous
#68551B #54681B #2D681B
triadic
#54681B #1B5468 #681B54
tetradic
#54681B #1B6855 #2F1B68 #681B2D
square
#54681B #1B6855 #2F1B68 #681B2D
split-complementary
#54681B #1B2D68 #551B68
monochromatic
#141806 #2D370E #54681B #7B9928 #A2C934

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54681B#FFFFFF#000000##FFFFFF
##54681B1.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)
#6E610E
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#586359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #54681b;
/* rgb */ color: rgb(84, 104, 27);
/* oklch */ color: oklch(48.5% 0.104 123.0);
Tailwind
colors: {
  custom: {
    50: '#87935d',
    500: '#54681b',
    950: '#000000',
  },
}
SCSS
$custom: #54681b;
$custom-light: #87935d;
$custom-dark: #000000;
JSON
{
  "hex": "#54681b",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 75.584,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.10385,
    "h": 123
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#54681B
secondary
#59429D
accent
#46E26E
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #54681B

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

Preview Lab → · Contrast checker → · Palette generator →

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