#728C2F#728C2F

#728C2F is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 60.1% C 0.123 H 123.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#728C2F
RGBrgb(114, 140, 47)
HSLhsl(77, 50%, 37%)
HSVhsv(77, 66%, 55%)
CMYKcmyk(18.6%, 0%, 66.4%, 45.1%)
CIE-LABlab(54.59, -23.51, 44.97)
CIE-LCHlch(54.59, 50.74, 117.60°)
OKLaboklab(60.05% -0.0678 0.1025)
OKLCHoklch(60.05% 0.123 123.5)
XYZxyz(16.8307, 22.5387, 6.1525)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728C2F #492F8C
analogous
#8C782F #728C2F #448C2F
triadic
#728C2F #2F728C #8C2F72
tetradic
#728C2F #2F8C78 #492F8C #8C2F44
square
#728C2F #2F8C78 #492F8C #8C2F44
split-complementary
#728C2F #2F448C #782F8C
monochromatic
#273010 #4D5E20 #728C2F #97BA3E #B1CD69

Accessibility & contrast

On white

3.81
#728C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#728C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728C2F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728C2F#FFFFFF#000000##000000
##728C2F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#918236
Tritanopia (blue-blind)
#778579
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #728c2f;
/* rgb */ color: rgb(114, 140, 47);
/* oklch */ color: oklch(60.1% 0.123 123.5);
Tailwind
colors: {
  custom: {
    50: '#9dad6c',
    500: '#728c2f',
    950: '#000000',
  },
}
SCSS
$custom: #728c2f;
$custom-light: #9dad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#728c2f",
  "rgb": {
    "r": 114,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 76.774,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.12286,
    "h": 123.5
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#728C2F
secondary
#7A63B4
accent
#4FD975
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0F1007
muted
#7E7F7A

Preview Lab

Preview with #728C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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