#718012#718012

#718012 is a mid, vivid yellow. Relative luminance 0.190; OKLCH L 56.8% C 0.126 H 117.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#718012
RGBrgb(113, 128, 18)
HSLhsl(68, 75%, 29%)
HSVhsv(68, 86%, 50%)
CMYKcmyk(11.7%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.68, -19.39, 51.57)
CIE-LCHlch(50.68, 55.10, 110.61°)
OKLaboklab(56.82% -0.0589 0.1115)
OKLCHoklch(56.82% 0.126 117.8)
XYZxyz(14.6388, 18.9929, 3.4670)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#718012 #211280
analogous
#805812 #718012 #3A8012
triadic
#718012 #127180 #801271
tetradic
#718012 #128058 #211280 #80123A
square
#718012 #128058 #211280 #80123A
split-complementary
#718012 #123A80 #581280
monochromatic
#181B04 #424A0A #718012 #A0B61A #C8E12B

Accessibility & contrast

On white

4.38
#718012 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#718012 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #718012
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##718012#FFFFFF#000000##000000
##7180121.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#79786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #718012;
/* rgb */ color: rgb(113, 128, 18);
/* oklch */ color: oklch(56.8% 0.126 117.8);
Tailwind
colors: {
  custom: {
    50: '#9da45d',
    500: '#718012',
    950: '#000000',
  },
}
SCSS
$custom: #718012;
$custom-light: #9da45d;
$custom-dark: #000000;
JSON
{
  "hex": "#718012",
  "rgb": {
    "r": 113,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 68.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.12611,
    "h": 117.8
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#718012
secondary
#4938B6
accent
#36F250
background
#FAFAF5
surface
#F3F4E9
border
#CDCEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #718012

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

Preview Lab → · Contrast checker → · Palette generator →

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