#728D1F#728D1F

#728D1F is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.2% C 0.135 H 122.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#728D1F
RGBrgb(114, 141, 31)
HSLhsl(75, 64%, 34%)
HSVhsv(75, 78%, 55%)
CMYKcmyk(19.1%, 0%, 78%, 44.7%)
CIE-LABlab(54.79, -25.01, 51.39)
CIE-LCHlch(54.79, 57.15, 115.95°)
OKLaboklab(60.17% -0.0734 0.1134)
OKLCHoklch(60.17% 0.135 122.9)
XYZxyz(16.7119, 22.7260, 4.8022)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728D1F #3A1F8D
analogous
#8D711F #728D1F #3B8D1F
triadic
#728D1F #1F728D #8D1F72
tetradic
#728D1F #1F8D71 #3A1F8D #8D1F3B
square
#728D1F #1F8D71 #3A1F8D #8D1F3B
split-complementary
#728D1F #1F3B8D #711F8D
monochromatic
#212909 #495B14 #728D1F #9BBF2A #B6D84E

Accessibility & contrast

On white

3.79
#728D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#728D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728D1F
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728D1F#FFFFFF#000000##000000
##728D1F1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968403
Deuteranopia (green-blind)
#92832A
Tritanopia (blue-blind)
#788678
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #728d1f;
/* rgb */ color: rgb(114, 141, 31);
/* oklch */ color: oklch(60.2% 0.135 122.9);
Tailwind
colors: {
  custom: {
    50: '#9eae64',
    500: '#728d1f',
    950: '#000000',
  },
}
SCSS
$custom: #728d1f;
$custom-light: #9eae64;
$custom-dark: #000000;
JSON
{
  "hex": "#728d1f",
  "rgb": {
    "r": 114,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 74.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.13505,
    "h": 122.9
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#728D1F
secondary
#684DBB
accent
#41E76A
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #728D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#728D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva