#54701D#54701D

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

Color values

HEX#54701D
RGBrgb(84, 112, 29)
HSLhsl(80, 59%, 28%)
HSVhsv(80, 74%, 44%)
CMYKcmyk(25%, 0%, 74.1%, 56.1%)
CIE-LABlab(43.60, -23.45, 40.59)
CIE-LCHlch(43.60, 46.87, 120.02°)
OKLaboklab(50.58% -0.0674 0.0912)
OKLCHoklch(50.58% 0.113 126.5)
XYZxyz(9.6721, 13.5617, 3.2703)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701D #391D70
analogous
#70621D #54701D #2A701D
triadic
#54701D #1D5470 #701D54
tetradic
#54701D #1D7062 #391D70 #701D2A
square
#54701D #1D7062 #391D70 #701D2A
split-complementary
#54701D #1D2A70 #621D70
monochromatic
#121806 #303F10 #54701D #78A12A #9BCC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54701D#FFFFFF#000000##FFFFFF
##54701D1.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)
#76680F
Deuteranopia (green-blind)
#726724
Tritanopia (blue-blind)
#586B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701d;
/* rgb */ color: rgb(84, 112, 29);
/* oklch */ color: oklch(50.6% 0.113 126.5);
Tailwind
colors: {
  custom: {
    50: '#87995f',
    500: '#54701d',
    950: '#000000',
  },
}
SCSS
$custom: #54701d;
$custom-light: #87995f;
$custom-dark: #000000;
JSON
{
  "hex": "#54701d",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 80.241,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50581,
    "c": 0.11335,
    "h": 126.5
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#54701D
secondary
#6544A4
accent
#46E27A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54701D

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

Preview Lab → · Contrast checker → · Palette generator →

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