#54702A#54702A

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

Color values

HEX#54702A
RGBrgb(84, 112, 42)
HSLhsl(84, 45%, 30%)
HSVhsv(84, 63%, 44%)
CMYKcmyk(25%, 0%, 62.5%, 56.1%)
CIE-LABlab(43.71, -22.38, 34.83)
CIE-LCHlch(43.71, 41.40, 122.72°)
OKLaboklab(50.71% -0.0632 0.0809)
OKLCHoklch(50.71% 0.103 128)
XYZxyz(9.8682, 13.6401, 4.3029)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54702A #462A70
analogous
#70692A #54702A #31702A
triadic
#54702A #2A5470 #702A54
tetradic
#54702A #2A7069 #462A70 #702A31
square
#54702A #2A7069 #462A70 #702A31
split-complementary
#54702A #2A3170 #692A70
monochromatic
#111709 #334319 #54702A #759D3B #95BF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##54702A#FFFFFF#000000##FFFFFF
##54702A1.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)
#756922
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#576B61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #54702a;
/* rgb */ color: rgb(84, 112, 42);
/* oklch */ color: oklch(50.7% 0.103 128.0);
Tailwind
colors: {
  custom: {
    50: '#869966',
    500: '#54702a',
    950: '#000000',
  },
}
SCSS
$custom: #54702a;
$custom-light: #869966;
$custom-dark: #000000;
JSON
{
  "hex": "#54702a",
  "rgb": {
    "r": 84,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 84,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.10264,
    "h": 128
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#54702A
secondary
#7354A2
accent
#53D587
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54702A

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

Preview Lab → · Contrast checker → · Palette generator →

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