#72811F#72811F

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

Color values

HEX#72811F
RGBrgb(114, 129, 31)
HSLhsl(69, 61%, 31%)
HSVhsv(69, 76%, 51%)
CMYKcmyk(11.6%, 0%, 76%, 49.4%)
CIE-LABlab(51.13, -18.91, 47.92)
CIE-LCHlch(51.13, 51.52, 111.53°)
OKLaboklab(57.22% -0.0566 0.1061)
OKLCHoklch(57.22% 0.12 118.1)
XYZxyz(15.0373, 19.3770, 4.2440)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72811F #2E1F81
analogous
#815F1F #72811F #41811F
triadic
#72811F #1F7281 #811F72
tetradic
#72811F #1F815F #2E1F81 #811F41
square
#72811F #1F815F #2E1F81 #811F41
split-complementary
#72811F #1F4181 #5F1F81
monochromatic
#1B1E07 #465013 #72811F #9EB22B #BED347

Accessibility & contrast

On white

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

On black

4.88
#72811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #72811F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72811F#FFFFFF#000000##000000
##72811F1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#797A6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #72811f;
/* rgb */ color: rgb(114, 129, 31);
/* oklch */ color: oklch(57.2% 0.120 118.1);
Tailwind
colors: {
  custom: {
    50: '#9da563',
    500: '#72811f',
    950: '#000000',
  },
}
SCSS
$custom: #72811f;
$custom-light: #9da563;
$custom-dark: #000000;
JSON
{
  "hex": "#72811f",
  "rgb": {
    "r": 114,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 69.184,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.12022,
    "h": 118.1
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#72811F
secondary
#5848B4
accent
#43E45C
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #72811F

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

Preview Lab → · Contrast checker → · Palette generator →

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