#54701C#54701C

#54701C is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.114 H 126.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#54701C
RGBrgb(84, 112, 28)
HSLhsl(80, 60%, 27%)
HSVhsv(80, 75%, 44%)
CMYKcmyk(25%, 0%, 75%, 56.1%)
CIE-LABlab(43.59, -23.52, 40.98)
CIE-LCHlch(43.59, 47.25, 119.85°)
OKLaboklab(50.57% -0.0677 0.0918)
OKLCHoklch(50.57% 0.114 126.4)
XYZxyz(9.6600, 13.5568, 3.2062)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701C #381C70
analogous
#70621C #54701C #2A701C
triadic
#54701C #1C5470 #701C54
tetradic
#54701C #1C7062 #381C70 #701C2A
square
#54701C #1C7062 #381C70 #701C2A
split-complementary
#54701C #1C2A70 #621C70
monochromatic
#121806 #2F3F10 #54701C #79A128 #9CCD39

Accessibility & contrast

On white

5.66
#54701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#54701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54701C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54701C#FFFFFF#000000##FFFFFF
##54701C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#586B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701c;
/* rgb */ color: rgb(84, 112, 28);
/* oklch */ color: oklch(50.6% 0.114 126.4);
Tailwind
colors: {
  custom: {
    50: '#87995e',
    500: '#54701c',
    950: '#000000',
  },
}
SCSS
$custom: #54701c;
$custom-light: #87995e;
$custom-dark: #000000;
JSON
{
  "hex": "#54701c",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50572,
    "c": 0.11406,
    "h": 126.4
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#54701C
secondary
#6443A5
accent
#45E379
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54701C

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

Preview Lab → · Contrast checker → · Palette generator →

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