#72771A#72771A

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

Color values

HEX#72771A
RGBrgb(114, 119, 26)
HSLhsl(63, 64%, 28%)
HSVhsv(63, 78%, 47%)
CMYKcmyk(4.2%, 0%, 78.2%, 53.3%)
CIE-LABlab(48.07, -13.84, 46.83)
CIE-LCHlch(48.07, 48.83, 106.46°)
OKLaboklab(54.75% -0.043 0.1028)
OKLCHoklch(54.75% 0.111 112.7)
XYZxyz(13.7232, 16.8460, 3.5058)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72771A #1F1A77
analogous
#774D1A #72771A #43771A
triadic
#72771A #1A7277 #771A72
tetradic
#72771A #1A774D #1F1A77 #771A43
square
#72771A #1A774D #1F1A77 #771A43
split-complementary
#72771A #1A4377 #4D1A77
monochromatic
#181905 #42450F #72771A #A2A925 #CBD338

Accessibility & contrast

On white

4.81
#72771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #72771A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72771A#FFFFFF#000000##FFFFFF
##72771A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807104
Deuteranopia (green-blind)
#817322
Tritanopia (blue-blind)
#7A6F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #72771a;
/* rgb */ color: rgb(114, 119, 26);
/* oklch */ color: oklch(54.8% 0.111 112.7);
Tailwind
colors: {
  custom: {
    50: '#9e9e5f',
    500: '#72771a',
    950: '#000000',
  },
}
SCSS
$custom: #72771a;
$custom-light: #9e9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#72771a",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 63.226,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.11146,
    "h": 112.7
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#72771A
secondary
#4741AC
accent
#41E74A
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #72771A

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

Preview Lab → · Contrast checker → · Palette generator →

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