#72771B#72771B

#72771B is a mid, moderate yellow. Relative luminance 0.169; 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#72771B
RGBrgb(114, 119, 27)
HSLhsl(63, 63%, 29%)
HSVhsv(63, 77%, 47%)
CMYKcmyk(4.2%, 0%, 77.3%, 53.3%)
CIE-LABlab(48.07, -13.79, 46.48)
CIE-LCHlch(48.07, 48.48, 106.52°)
OKLaboklab(54.76% -0.0428 0.1023)
OKLCHoklch(54.76% 0.111 112.7)
XYZxyz(13.7345, 16.8505, 3.5657)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72771B #201B77
analogous
#774E1B #72771B #44771B
triadic
#72771B #1B7277 #771B72
tetradic
#72771B #1B774E #201B77 #771B44
square
#72771B #1B774E #201B77 #771B44
split-complementary
#72771B #1B4477 #4E1B77
monochromatic
#181906 #424510 #72771B #A2A926 #CAD23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##72771B#FFFFFF#000000##FFFFFF
##72771B1.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)
#807107
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#7A6F66
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #72771b;
/* rgb */ color: rgb(114, 119, 27);
/* oklch */ color: oklch(54.8% 0.111 112.7);
Tailwind
colors: {
  custom: {
    50: '#9e9e5f',
    500: '#72771b',
    950: '#000000',
  },
}
SCSS
$custom: #72771b;
$custom-light: #9e9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#72771b",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 63.261,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.11087,
    "h": 112.7
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#72771B
secondary
#4842AB
accent
#42E64B
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #72771B

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

Preview Lab → · Contrast checker → · Palette generator →

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