#717212#717212

#717212 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.110 H 110.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#717212
RGBrgb(113, 114, 18)
HSLhsl(61, 73%, 26%)
HSVhsv(61, 84%, 45%)
CMYKcmyk(0.9%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.43, -11.90, 47.91)
CIE-LCHlch(46.43, 49.37, 103.95°)
OKLaboklab(53.41% -0.0382 0.1036)
OKLCHoklch(53.41% 0.11 110.3)
XYZxyz(12.9370, 15.5894, 2.8997)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#717212 #131272
analogous
#724312 #717212 #417212
triadic
#717212 #127172 #721271
tetradic
#717212 #127243 #131272 #721241
square
#717212 #127243 #131272 #721241
split-complementary
#717212 #124172 #431272
monochromatic
#1A1A04 #3D3D0A #717212 #A5A71A #DADC23

Accessibility & contrast

On white

5.10
#717212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#717212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #717212
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##717212#FFFFFF#000000##FFFFFF
##7172121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7D6F1B
Tritanopia (blue-blind)
#7A6A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #717212;
/* rgb */ color: rgb(113, 114, 18);
/* oklch */ color: oklch(53.4% 0.110 110.3);
Tailwind
colors: {
  custom: {
    50: '#9d9a5b',
    500: '#717212',
    950: '#000000',
  },
}
SCSS
$custom: #717212;
$custom-light: #9d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#717212",
  "rgb": {
    "r": 113,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 60.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.11046,
    "h": 110.3
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#717212
secondary
#3837A9
accent
#38EF3A
background
#FAF9F5
surface
#F3F2E9
border
#CDCCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #717212

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

Preview Lab → · Contrast checker → · Palette generator →

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