#54702D#54702D

#54702D is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.100 H 128.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#54702D
RGBrgb(84, 112, 45)
HSLhsl(85, 43%, 31%)
HSVhsv(85, 60%, 44%)
CMYKcmyk(25%, 0%, 59.8%, 56.1%)
CIE-LABlab(43.74, -22.08, 33.37)
CIE-LCHlch(43.74, 40.01, 123.49°)
OKLaboklab(50.75% -0.0621 0.0781)
OKLCHoklch(50.75% 0.1 128.5)
XYZxyz(9.9239, 13.6624, 4.5964)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54702D #492D70
analogous
#706A2D #54702D #32702D
triadic
#54702D #2D5470 #702D54
tetradic
#54702D #2D706A #492D70 #702D32
square
#54702D #2D706A #492D70 #702D32
split-complementary
#54702D #2D3270 #6A2D70
monochromatic
#13190A #33441B #54702D #759C3F #94BD5A

Accessibility & contrast

On white

5.63
#54702D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#54702D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54702D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54702D#FFFFFF#000000##FFFFFF
##54702D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756926
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#576B61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54702d;
/* rgb */ color: rgb(84, 112, 45);
/* oklch */ color: oklch(50.7% 0.100 128.5);
Tailwind
colors: {
  custom: {
    50: '#869968',
    500: '#54702d',
    950: '#000000',
  },
}
SCSS
$custom: #54702d;
$custom-light: #869968;
$custom-dark: #000000;
JSON
{
  "hex": "#54702d",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 45
  },
  "hsl": {
    "h": 85.075,
    "s": 42.675,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50747,
    "c": 0.09976,
    "h": 128.5
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#54702D
secondary
#7657A2
accent
#55D28A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54702D

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

Preview Lab → · Contrast checker → · Palette generator →

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