#72811B#72811B

#72811B is a mid, vivid yellow. Relative luminance 0.194; OKLCH L 57.2% C 0.123 H 118.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#72811B
RGBrgb(114, 129, 27)
HSLhsl(69, 65%, 31%)
HSVhsv(69, 79%, 51%)
CMYKcmyk(11.6%, 0%, 79.1%, 49.4%)
CIE-LABlab(51.10, -19.11, 49.30)
CIE-LCHlch(51.10, 52.87, 111.18°)
OKLaboklab(57.19% -0.0575 0.1083)
OKLCHoklch(57.19% 0.123 118)
XYZxyz(14.9879, 19.3572, 3.9834)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72811B #2A1B81
analogous
#815D1B #72811B #3F811B
triadic
#72811B #1B7281 #811B72
tetradic
#72811B #1B815D #2A1B81 #811B3F
square
#72811B #1B815D #2A1B81 #811B3F
split-complementary
#72811B #1B3F81 #5D1B81
monochromatic
#191C06 #454E10 #72811B #9FB426 #C1D73F

Accessibility & contrast

On white

4.31
#72811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#72811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #72811B
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72811B#FFFFFF#000000##000000
##72811B1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A01
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#79796E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #72811b;
/* rgb */ color: rgb(114, 129, 27);
/* oklch */ color: oklch(57.2% 0.123 118.0);
Tailwind
colors: {
  custom: {
    50: '#9ea561',
    500: '#72811b',
    950: '#000000',
  },
}
SCSS
$custom: #72811b;
$custom-light: #9ea561;
$custom-dark: #000000;
JSON
{
  "hex": "#72811b",
  "rgb": {
    "r": 114,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 68.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57194,
    "c": 0.12257,
    "h": 118
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#72811B
secondary
#5443B5
accent
#3FE858
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #72811B

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

Preview Lab → · Contrast checker → · Palette generator →

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