#728218#728218

#728218 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.4% C 0.125 H 118.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#728218
RGBrgb(114, 130, 24)
HSLhsl(69, 69%, 30%)
HSVhsv(69, 82%, 51%)
CMYKcmyk(12.3%, 0%, 81.5%, 49%)
CIE-LABlab(51.39, -19.76, 50.53)
CIE-LCHlch(51.39, 54.25, 111.36°)
OKLaboklab(57.42% -0.0595 0.1103)
OKLCHoklch(57.42% 0.125 118.3)
XYZxyz(15.0873, 19.6088, 3.8540)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728218 #281882
analogous
#825D18 #728218 #3D8218
triadic
#728218 #187282 #821872
tetradic
#728218 #18825D #281882 #82183D
square
#728218 #18825D #281882 #82183D
split-complementary
#728218 #183D82 #5D1882
monochromatic
#171B05 #454E0E #728218 #9FB622 #C2DB3A

Accessibility & contrast

On white

4.27
#728218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#728218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728218
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728218#FFFFFF#000000##000000
##7282181.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#897B23
Tritanopia (blue-blind)
#797A6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #728218;
/* rgb */ color: rgb(114, 130, 24);
/* oklch */ color: oklch(57.4% 0.125 118.3);
Tailwind
colors: {
  custom: {
    50: '#9ea660',
    500: '#728218',
    950: '#000000',
  },
}
SCSS
$custom: #728218;
$custom-light: #9ea660;
$custom-dark: #000000;
JSON
{
  "hex": "#728218",
  "rgb": {
    "r": 114,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 69.057,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.12534,
    "h": 118.3
  },
  "luminance": 0.19609
}

Semantic roles & 50–950 ramp

primary
#728218
secondary
#5240B6
accent
#3CEC57
background
#FAFAF5
surface
#F3F4EA
border
#CDCEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #728218

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

Preview Lab → · Contrast checker → · Palette generator →

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