#72831C#72831C

#72831C is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.7% C 0.124 H 118.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#72831C
RGBrgb(114, 131, 28)
HSLhsl(70, 65%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13%, 0%, 78.6%, 48.6%)
CIE-LABlab(51.72, -20.10, 49.53)
CIE-LCHlch(51.72, 53.45, 112.08°)
OKLaboklab(57.69% -0.0601 0.1089)
OKLCHoklch(57.69% 0.124 118.9)
XYZxyz(15.2657, 19.8940, 4.1341)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72831C #2D1C83
analogous
#83601C #72831C #3E831C
triadic
#72831C #1C7283 #831C72
tetradic
#72831C #1C8360 #2D1C83 #831C3E
square
#72831C #1C8360 #2D1C83 #831C3E
split-complementary
#72831C #1C3E83 #601C83
monochromatic
#1A1E06 #465111 #72831C #9EB527 #BED743

Accessibility & contrast

On white

4.22
#72831C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#72831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #72831C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72831C#FFFFFF#000000##000000
##72831C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B02
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#797B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #72831c;
/* rgb */ color: rgb(114, 131, 28);
/* oklch */ color: oklch(57.7% 0.124 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ea761',
    500: '#72831c',
    950: '#000000',
  },
}
SCSS
$custom: #72831c;
$custom-light: #9ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#72831c",
  "rgb": {
    "r": 114,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 69.903,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57691,
    "c": 0.12443,
    "h": 118.9
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#72831C
secondary
#5745B6
accent
#40E85C
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #72831C

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

Preview Lab → · Contrast checker → · Palette generator →

#72831C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva