#72831A#72831A

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

Color values

HEX#72831A
RGBrgb(114, 131, 26)
HSLhsl(70, 67%, 31%)
HSVhsv(70, 80%, 51%)
CMYKcmyk(13%, 0%, 80.2%, 48.6%)
CIE-LABlab(51.71, -20.19, 50.18)
CIE-LCHlch(51.71, 54.09, 111.92°)
OKLaboklab(57.68% -0.0605 0.11)
OKLCHoklch(57.68% 0.126 118.8)
XYZxyz(15.2425, 19.8847, 4.0122)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72831A #2B1A83
analogous
#835F1A #72831A #3D831A
triadic
#72831A #1A7283 #831A72
tetradic
#72831A #1A835F #2B1A83 #831A3D
square
#72831A #1A835F #2B1A83 #831A3D
split-complementary
#72831A #1A3D83 #5F1A83
monochromatic
#191D06 #465010 #72831A #9EB624 #C0D93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72831A#FFFFFF#000000##000000
##72831A1.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)
#8A7C24
Tritanopia (blue-blind)
#797B70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #72831a;
/* rgb */ color: rgb(114, 131, 26);
/* oklch */ color: oklch(57.7% 0.126 118.8);
Tailwind
colors: {
  custom: {
    50: '#9ea761',
    500: '#72831a',
    950: '#000000',
  },
}
SCSS
$custom: #72831a;
$custom-light: #9ea761;
$custom-dark: #000000;
JSON
{
  "hex": "#72831a",
  "rgb": {
    "r": 114,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 69.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.12552,
    "h": 118.8
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#72831A
secondary
#5542B7
accent
#3EEA5A
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #72831A

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

Preview Lab → · Contrast checker → · Palette generator →

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