#54701E#54701E

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

Color values

HEX#54701E
RGBrgb(84, 112, 30)
HSLhsl(80, 58%, 28%)
HSVhsv(80, 73%, 44%)
CMYKcmyk(25%, 0%, 73.2%, 56.1%)
CIE-LABlab(43.60, -23.38, 40.18)
CIE-LCHlch(43.60, 46.49, 120.20°)
OKLaboklab(50.59% -0.0671 0.0905)
OKLCHoklch(50.59% 0.113 126.6)
XYZxyz(9.6847, 13.5667, 3.3364)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701E #3A1E70
analogous
#70631E #54701E #2B701E
triadic
#54701E #1E5470 #701E54
tetradic
#54701E #1E7063 #3A1E70 #701E2B
square
#54701E #1E7063 #3A1E70 #701E2B
split-complementary
#54701E #1E2B70 #631E70
monochromatic
#121806 #304011 #54701E #78A02B #9BCB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54701E#FFFFFF#000000##FFFFFF
##54701E1.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)
#766811
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#586B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701e;
/* rgb */ color: rgb(84, 112, 30);
/* oklch */ color: oklch(50.6% 0.113 126.6);
Tailwind
colors: {
  custom: {
    50: '#87995f',
    500: '#54701e',
    950: '#000000',
  },
}
SCSS
$custom: #54701e;
$custom-light: #87995f;
$custom-dark: #000000;
JSON
{
  "hex": "#54701e",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 80.488,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.11264,
    "h": 126.6
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#54701E
secondary
#6646A4
accent
#47E17B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #54701E

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

Preview Lab → · Contrast checker → · Palette generator →

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