#72831B#72831B

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

Color values

HEX#72831B
RGBrgb(114, 131, 27)
HSLhsl(70, 66%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13%, 0%, 79.4%, 48.6%)
CIE-LABlab(51.71, -20.14, 49.86)
CIE-LCHlch(51.71, 53.78, 112.00°)
OKLaboklab(57.68% -0.0603 0.1095)
OKLCHoklch(57.68% 0.125 118.9)
XYZxyz(15.2539, 19.8893, 4.0721)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72831B #2C1B83
analogous
#83601B #72831B #3E831B
triadic
#72831B #1B7283 #831B72
tetradic
#72831B #1B8360 #2C1B83 #831B3E
square
#72831B #1B8360 #2C1B83 #831B3E
split-complementary
#72831B #1B3E83 #601B83
monochromatic
#1A1E06 #465011 #72831B #9EB625 #BFD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72831B#FFFFFF#000000##000000
##72831B1.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)
#8C7B00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#797B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #72831b;
/* rgb */ color: rgb(114, 131, 27);
/* oklch */ color: oklch(57.7% 0.125 118.9);
Tailwind
colors: {
  custom: {
    50: '#9ea761',
    500: '#72831b',
    950: '#000000',
  },
}
SCSS
$custom: #72831b;
$custom-light: #9ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#72831b",
  "rgb": {
    "r": 114,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 69.808,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.12498,
    "h": 118.9
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#72831B
secondary
#5643B6
accent
#3FE95B
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #72831B

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

Preview Lab → · Contrast checker → · Palette generator →

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