#728D12#728D12

#728D12 is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 60.1% C 0.141 H 122.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#728D12
RGBrgb(114, 141, 18)
HSLhsl(73, 77%, 31%)
HSVhsv(73, 87%, 55%)
CMYKcmyk(19.1%, 0%, 87.2%, 44.7%)
CIE-LABlab(54.73, -25.54, 55.05)
CIE-LCHlch(54.73, 60.69, 114.89°)
OKLaboklab(60.11% -0.0757 0.119)
OKLCHoklch(60.11% 0.141 122.5)
XYZxyz(16.5738, 22.6708, 4.0749)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728D12 #2D128D
analogous
#8D6A12 #728D12 #348D12
triadic
#728D12 #12728D #8D1272
tetradic
#728D12 #128D6A #2D128D #8D1234
square
#728D12 #128D6A #2D128D #8D1234
split-complementary
#728D12 #12348D #6A128D
monochromatic
#1A2004 #46570B #728D12 #9EC319 #BEE534

Accessibility & contrast

On white

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

On black

5.53
#728D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728D12
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728D12#FFFFFF#000000##000000
##728D121.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#938321
Tritanopia (blue-blind)
#798578
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #728d12;
/* rgb */ color: rgb(114, 141, 18);
/* oklch */ color: oklch(60.1% 0.141 122.5);
Tailwind
colors: {
  custom: {
    50: '#9eae5f',
    500: '#728d12',
    950: '#000000',
  },
}
SCSS
$custom: #728d12;
$custom-light: #9eae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#728d12",
  "rgb": {
    "r": 114,
    "g": 141,
    "b": 18
  },
  "hsl": {
    "h": 73.171,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.14102,
    "h": 122.5
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#728D12
secondary
#5739C1
accent
#34F45E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F1005
muted
#7F7F79

Preview Lab

Preview with #728D12

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

Preview Lab → · Contrast checker → · Palette generator →

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