#718018#718018

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

Color values

HEX#718018
RGBrgb(113, 128, 24)
HSLhsl(69, 68%, 30%)
HSVhsv(69, 81%, 50%)
CMYKcmyk(11.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.70, -19.17, 49.88)
CIE-LCHlch(50.70, 53.43, 111.02°)
OKLaboklab(56.85% -0.0578 0.109)
OKLCHoklch(56.85% 0.123 118)
XYZxyz(14.6945, 19.0152, 3.7602)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#718018 #271880
analogous
#805B18 #718018 #3D8018
triadic
#718018 #187180 #801871
tetradic
#718018 #18805B #271880 #80183D
square
#718018 #18805B #271880 #80183D
split-complementary
#718018 #183D80 #5B1880
monochromatic
#171A05 #444C0E #718018 #9EB422 #C3DA39

Accessibility & contrast

On white

4.37
#718018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##718018#FFFFFF#000000##000000
##7180181.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#78786D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #718018;
/* rgb */ color: rgb(113, 128, 24);
/* oklch */ color: oklch(56.9% 0.123 118.0);
Tailwind
colors: {
  custom: {
    50: '#9da45f',
    500: '#718018',
    950: '#000000',
  },
}
SCSS
$custom: #718018;
$custom-light: #9da45f;
$custom-dark: #000000;
JSON
{
  "hex": "#718018",
  "rgb": {
    "r": 113,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 68.654,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.12336,
    "h": 118
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#718018
secondary
#5040B4
accent
#3DEB56
background
#FAFAF5
surface
#F3F4EA
border
#CDCEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #718018

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

Preview Lab → · Contrast checker → · Palette generator →

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