#728312#728312

#728312 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.6% C 0.129 H 118.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#728312
RGBrgb(114, 131, 18)
HSLhsl(69, 76%, 29%)
HSVhsv(69, 86%, 51%)
CMYKcmyk(13%, 0%, 86.3%, 48.6%)
CIE-LABlab(51.67, -20.50, 52.45)
CIE-LCHlch(51.67, 56.31, 111.34°)
OKLaboklab(57.64% -0.062 0.1134)
OKLCHoklch(57.64% 0.129 118.7)
XYZxyz(15.1653, 19.8538, 3.6054)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#728312 #231283
analogous
#835C12 #728312 #398312
triadic
#728312 #127283 #831272
tetradic
#728312 #12835C #231283 #831239
square
#728312 #12835C #231283 #831239
split-complementary
#728312 #123983 #5C1283
monochromatic
#171B04 #434D0B #728312 #A1B919 #C7E22D

Accessibility & contrast

On white

4.22
#728312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#728312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #728312
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##728312#FFFFFF#000000##000000
##7283121.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8A7C1F
Tritanopia (blue-blind)
#797B6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #728312;
/* rgb */ color: rgb(114, 131, 18);
/* oklch */ color: oklch(57.6% 0.129 118.7);
Tailwind
colors: {
  custom: {
    50: '#9ea75d',
    500: '#728312',
    950: '#000000',
  },
}
SCSS
$custom: #728312;
$custom-light: #9ea75d;
$custom-dark: #000000;
JSON
{
  "hex": "#728312",
  "rgb": {
    "r": 114,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 69.027,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5764,
    "c": 0.1292,
    "h": 118.7
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#728312
secondary
#4C38B8
accent
#35F252
background
#FAFAF5
surface
#F3F4E9
border
#CDCEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #728312

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

Preview Lab → · Contrast checker → · Palette generator →

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