#54701F#54701F

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

Color values

HEX#54701F
RGBrgb(84, 112, 31)
HSLhsl(81, 57%, 28%)
HSVhsv(81, 72%, 44%)
CMYKcmyk(25%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.61, -23.31, 39.77)
CIE-LCHlch(43.61, 46.10, 120.38°)
OKLaboklab(50.6% -0.0668 0.0898)
OKLCHoklch(50.6% 0.112 126.7)
XYZxyz(9.6977, 13.5719, 3.4048)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54701F #3B1F70
analogous
#70631F #54701F #2B701F
triadic
#54701F #1F5470 #701F54
tetradic
#54701F #1F7063 #3B1F70 #701F2B
square
#54701F #1F7063 #3B1F70 #701F2B
split-complementary
#54701F #1F2B70 #631F70
monochromatic
#121807 #304012 #54701F #78A02C #9ACA3F

Accessibility & contrast

On white

5.65
#54701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #54701F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54701F#FFFFFF#000000##FFFFFF
##54701F1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#726726
Tritanopia (blue-blind)
#576B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54701f;
/* rgb */ color: rgb(84, 112, 31);
/* oklch */ color: oklch(50.6% 0.112 126.7);
Tailwind
colors: {
  custom: {
    50: '#879960',
    500: '#54701f',
    950: '#000000',
  },
}
SCSS
$custom: #54701f;
$custom-light: #879960;
$custom-dark: #000000;
JSON
{
  "hex": "#54701f",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 80.741,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.1119,
    "h": 126.7
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#54701F
secondary
#6747A4
accent
#48E07C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #54701F

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

Preview Lab → · Contrast checker → · Palette generator →

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