#54722F#54722F

#54722F is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.101 H 129.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#54722F
RGBrgb(84, 114, 47)
HSLhsl(87, 42%, 32%)
HSVhsv(87, 59%, 45%)
CMYKcmyk(26.3%, 0%, 58.8%, 55.3%)
CIE-LABlab(44.41, -22.89, 33.12)
CIE-LCHlch(44.41, 40.26, 124.65°)
OKLaboklab(51.29% -0.0641 0.0778)
OKLCHoklch(51.29% 0.101 129.5)
XYZxyz(10.1865, 14.1245, 4.8784)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54722F #4D2F72
analogous
#726F2F #54722F #33722F
triadic
#54722F #2F5472 #722F54
tetradic
#54722F #2F726F #4D2F72 #722F33
square
#54722F #2F726F #4D2F72 #722F33
split-complementary
#54722F #2F3372 #6F2F72
monochromatic
#141B0B #34471D #54722F #749D41 #93BD5F

Accessibility & contrast

On white

5.49
#54722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#54722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #54722F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54722F#FFFFFF#000000##FFFFFF
##54722F1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A28
Deuteranopia (green-blind)
#736834
Tritanopia (blue-blind)
#566D63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #54722f;
/* rgb */ color: rgb(84, 114, 47);
/* oklch */ color: oklch(51.3% 0.101 129.5);
Tailwind
colors: {
  custom: {
    50: '#869a6a',
    500: '#54722f',
    950: '#000000',
  },
}
SCSS
$custom: #54722f;
$custom-light: #869a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#54722f",
  "rgb": {
    "r": 84,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 86.866,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.10082,
    "h": 129.5
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#54722F
secondary
#7B5AA3
accent
#56D18D
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #54722F

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

Preview Lab → · Contrast checker → · Palette generator →

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