#54681F#54681F

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

Color values

HEX#54681F
RGBrgb(84, 104, 31)
HSLhsl(76, 54%, 26%)
HSVhsv(76, 70%, 41%)
CMYKcmyk(19.2%, 0%, 70.2%, 59.2%)
CIE-LABlab(41.03, -19.17, 37.11)
CIE-LCHlch(41.03, 41.77, 117.32°)
OKLaboklab(48.51% -0.0554 0.0842)
OKLCHoklch(48.51% 0.101 123.4)
XYZxyz(8.8539, 11.8843, 3.1235)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54681F #331F68
analogous
#68581F #54681F #30681F
triadic
#54681F #1F5468 #681F54
tetradic
#54681F #1F6858 #331F68 #681F30
square
#54681F #1F6858 #331F68 #681F30
split-complementary
#54681F #1F3068 #581F68
monochromatic
#131807 #2E3911 #54681F #7A972D #A0C53C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54681F#FFFFFF#000000##FFFFFF
##54681F1.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)
#6E6115
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#586359
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #54681f;
/* rgb */ color: rgb(84, 104, 31);
/* oklch */ color: oklch(48.5% 0.101 123.4);
Tailwind
colors: {
  custom: {
    50: '#86935f',
    500: '#54681f',
    950: '#000000',
  },
}
SCSS
$custom: #54681f;
$custom-light: #86935f;
$custom-dark: #000000;
JSON
{
  "hex": "#54681f",
  "rgb": {
    "r": 84,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 76.438,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.10077,
    "h": 123.4
  },
  "luminance": 0.11884
}

Semantic roles & 50–950 ramp

primary
#54681F
secondary
#5E469C
accent
#4ADD73
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #54681F

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

Preview Lab → · Contrast checker → · Palette generator →

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