#72771F#72771F

#72771F is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.8% C 0.108 H 112.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#72771F
RGBrgb(114, 119, 31)
HSLhsl(63, 59%, 29%)
HSVhsv(63, 74%, 47%)
CMYKcmyk(4.2%, 0%, 73.9%, 53.3%)
CIE-LABlab(48.10, -13.58, 45.00)
CIE-LCHlch(48.10, 47.01, 106.80°)
OKLaboklab(54.79% -0.0418 0.0999)
OKLCHoklch(54.79% 0.108 112.7)
XYZxyz(13.7840, 16.8703, 3.8262)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72771F #241F77
analogous
#77501F #72771F #46771F
triadic
#72771F #1F7277 #771F72
tetradic
#72771F #1F7750 #241F77 #771F46
square
#72771F #1F7750 #241F77 #771F46
split-complementary
#72771F #1F4677 #501F77
monochromatic
#171806 #434612 #72771F #A1A82C #C6CE43

Accessibility & contrast

On white

4.80
#72771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#72771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #72771F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72771F#FFFFFF#000000##FFFFFF
##72771F1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#7A7066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #72771f;
/* rgb */ color: rgb(114, 119, 31);
/* oklch */ color: oklch(54.8% 0.108 112.7);
Tailwind
colors: {
  custom: {
    50: '#9d9e61',
    500: '#72771f',
    950: '#000000',
  },
}
SCSS
$custom: #72771f;
$custom-light: #9d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#72771f",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 63.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54789,
    "c": 0.10831,
    "h": 112.7
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#72771F
secondary
#4D47AB
accent
#46E24F
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #72771F

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

Preview Lab → · Contrast checker → · Palette generator →

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