#728018#728018

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

Color values

HEX#728018
RGBrgb(114, 128, 24)
HSLhsl(68, 68%, 30%)
HSVhsv(68, 81%, 50%)
CMYKcmyk(10.9%, 0%, 81.3%, 49.8%)
CIE-LABlab(50.78, -18.72, 49.98)
CIE-LCHlch(50.78, 53.37, 110.53°)
OKLaboklab(56.93% -0.0566 0.1092)
OKLCHoklch(56.93% 0.123 117.4)
XYZxyz(14.8238, 19.0819, 3.7662)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728018 #261880
analogous
#805A18 #728018 #3E8018
triadic
#728018 #187280 #801872
tetradic
#728018 #18805A #261880 #80183E
square
#728018 #18805A #261880 #80183E
split-complementary
#728018 #183E80 #5A1880
monochromatic
#171A05 #444C0E #728018 #A0B422 #C4DA39

Accessibility & contrast

On white

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

On black

4.82
#728018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728018
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728018#FFFFFF#000000##000000
##7280181.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #728018;
/* rgb */ color: rgb(114, 128, 24);
/* oklch */ color: oklch(56.9% 0.123 117.4);
Tailwind
colors: {
  custom: {
    50: '#9ea45f',
    500: '#728018',
    950: '#000000',
  },
}
SCSS
$custom: #728018;
$custom-light: #9ea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#728018",
  "rgb": {
    "r": 114,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 68.077,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.12298,
    "h": 117.4
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#728018
secondary
#4F40B4
accent
#3DEB54
background
#FAFAF5
surface
#F3F4EA
border
#CDCEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #728018

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

Preview Lab → · Contrast checker → · Palette generator →

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