#54701A#54701A

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

Color values

HEX#54701A
RGBrgb(84, 112, 26)
HSLhsl(80, 62%, 27%)
HSVhsv(80, 77%, 44%)
CMYKcmyk(25%, 0%, 76.8%, 56.1%)
CIE-LABlab(43.58, -23.65, 41.75)
CIE-LCHlch(43.58, 47.98, 119.53°)
OKLaboklab(50.56% -0.0682 0.0931)
OKLCHoklch(50.56% 0.115 126.2)
XYZxyz(9.6368, 13.5476, 3.0843)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701A #361A70
analogous
#70611A #54701A #29701A
triadic
#54701A #1A5470 #701A54
tetradic
#54701A #1A7061 #361A70 #701A29
square
#54701A #1A7061 #361A70 #701A29
split-complementary
#54701A #1A2970 #611A70
monochromatic
#131906 #2F3E0E #54701A #79A226 #9DD034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54701A#FFFFFF#000000##FFFFFF
##54701A1.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)
#766809
Deuteranopia (green-blind)
#726722
Tritanopia (blue-blind)
#586A5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701a;
/* rgb */ color: rgb(84, 112, 26);
/* oklch */ color: oklch(50.6% 0.115 126.2);
Tailwind
colors: {
  custom: {
    50: '#87995d',
    500: '#54701a',
    950: '#000000',
  },
}
SCSS
$custom: #54701a;
$custom-light: #87995d;
$custom-dark: #000000;
JSON
{
  "hex": "#54701a",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 79.535,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.11539,
    "h": 126.2
  },
  "luminance": 0.13548
}

Semantic roles & 50–950 ramp

primary
#54701A
secondary
#6141A5
accent
#42E577
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #54701A

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

Preview Lab → · Contrast checker → · Palette generator →

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