#728012#728012

#728012 is a mid, vivid yellow. Relative luminance 0.191; OKLCH L 56.9% C 0.126 H 117.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#728012
RGBrgb(114, 128, 18)
HSLhsl(68, 75%, 29%)
HSVhsv(68, 86%, 50%)
CMYKcmyk(10.9%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.76, -18.94, 51.67)
CIE-LCHlch(50.76, 55.03, 110.13°)
OKLaboklab(56.9% -0.0577 0.1117)
OKLCHoklch(56.9% 0.126 117.3)
XYZxyz(14.7682, 19.0596, 3.4730)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728012 #201280
analogous
#805712 #728012 #3B8012
triadic
#728012 #127280 #801272
tetradic
#728012 #128057 #201280 #80123B
square
#728012 #128057 #201280 #80123B
split-complementary
#728012 #123B80 #571280
monochromatic
#181B04 #424A0A #728012 #A2B61A #CAE12B

Accessibility & contrast

On white

4.36
#728012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#728012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728012
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728012#FFFFFF#000000##000000
##7280121.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#7A786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #728012;
/* rgb */ color: rgb(114, 128, 18);
/* oklch */ color: oklch(56.9% 0.126 117.3);
Tailwind
colors: {
  custom: {
    50: '#9ea45d',
    500: '#728012',
    950: '#000000',
  },
}
SCSS
$custom: #728012;
$custom-light: #9ea45d;
$custom-dark: #000000;
JSON
{
  "hex": "#728012",
  "rgb": {
    "r": 114,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 67.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56903,
    "c": 0.12572,
    "h": 117.3
  },
  "luminance": 0.19059
}

Semantic roles & 50–950 ramp

primary
#728012
secondary
#4838B6
accent
#36F24E
background
#FAFAF5
surface
#F3F4E9
border
#CDCEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #728012

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

Preview Lab → · Contrast checker → · Palette generator →

#728012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva