#718312#718312

#718312 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.6% C 0.130 H 119.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#718312
RGBrgb(113, 131, 18)
HSLhsl(70, 76%, 29%)
HSVhsv(70, 86%, 51%)
CMYKcmyk(13.7%, 0%, 86.3%, 48.6%)
CIE-LABlab(51.60, -20.94, 52.36)
CIE-LCHlch(51.60, 56.39, 111.80°)
OKLaboklab(57.56% -0.0631 0.1132)
OKLCHoklch(57.56% 0.13 119.1)
XYZxyz(15.0359, 19.7871, 3.5993)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#718312 #241283
analogous
#835D12 #718312 #388312
triadic
#718312 #127183 #831271
tetradic
#718312 #12835D #241283 #831238
square
#718312 #12835D #241283 #831238
split-complementary
#718312 #123883 #5D1283
monochromatic
#171B04 #434D0B #718312 #9FB919 #C5E22D

Accessibility & contrast

On white

4.24
#718312 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#718312 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #718312
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##718312#FFFFFF#000000##000000
##7183121.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #718312;
/* rgb */ color: rgb(113, 131, 18);
/* oklch */ color: oklch(57.6% 0.130 119.1);
Tailwind
colors: {
  custom: {
    50: '#9da75d',
    500: '#718312',
    950: '#000000',
  },
}
SCSS
$custom: #718312;
$custom-light: #9da75d;
$custom-dark: #000000;
JSON
{
  "hex": "#718312",
  "rgb": {
    "r": 113,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 69.558,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.12962,
    "h": 119.1
  },
  "luminance": 0.19787
}

Semantic roles & 50–950 ramp

primary
#718312
secondary
#4D38B8
accent
#35F253
background
#FAFAF5
surface
#F3F4E9
border
#CDCEC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #718312

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

Preview Lab → · Contrast checker → · Palette generator →

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