#54701B#54701B

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

Color values

HEX#54701B
RGBrgb(84, 112, 27)
HSLhsl(80, 61%, 27%)
HSVhsv(80, 76%, 44%)
CMYKcmyk(25%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.58, -23.58, 41.37)
CIE-LCHlch(43.58, 47.62, 119.69°)
OKLaboklab(50.57% -0.0679 0.0925)
OKLCHoklch(50.57% 0.115 126.3)
XYZxyz(9.6482, 13.5521, 3.1442)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701B #371B70
analogous
#70621B #54701B #29701B
triadic
#54701B #1B5470 #701B54
tetradic
#54701B #1B7062 #371B70 #701B29
square
#54701B #1B7062 #371B70 #701B29
split-complementary
#54701B #1B2970 #621B70
monochromatic
#121906 #2F3F0F #54701B #79A127 #9DCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54701B#FFFFFF#000000##FFFFFF
##54701B1.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)
#76680B
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#586A60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701b;
/* rgb */ color: rgb(84, 112, 27);
/* oklch */ color: oklch(50.6% 0.115 126.3);
Tailwind
colors: {
  custom: {
    50: '#87995e',
    500: '#54701b',
    950: '#000000',
  },
}
SCSS
$custom: #54701b;
$custom-light: #87995e;
$custom-dark: #000000;
JSON
{
  "hex": "#54701b",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 79.765,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.11473,
    "h": 126.3
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#54701B
secondary
#6342A5
accent
#44E478
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #54701B

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

Preview Lab → · Contrast checker → · Palette generator →

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