#72771C#72771C

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

Color values

HEX#72771C
RGBrgb(114, 119, 28)
HSLhsl(63, 62%, 29%)
HSVhsv(63, 76%, 47%)
CMYKcmyk(4.2%, 0%, 76.5%, 53.3%)
CIE-LABlab(48.08, -13.74, 46.12)
CIE-LCHlch(48.08, 48.13, 106.59°)
OKLaboklab(54.77% -0.0425 0.1017)
OKLCHoklch(54.77% 0.11 112.7)
XYZxyz(13.7463, 16.8552, 3.6276)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72771C #211C77
analogous
#774F1C #72771C #45771C
triadic
#72771C #1C7277 #771C72
tetradic
#72771C #1C774F #211C77 #771C45
square
#72771C #1C774F #211C77 #771C45
split-complementary
#72771C #1C4577 #4F1C77
monochromatic
#181906 #434510 #72771C #A1A928 #C9D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #72771c;
/* rgb */ color: rgb(114, 119, 28);
/* oklch */ color: oklch(54.8% 0.110 112.7);
Tailwind
colors: {
  custom: {
    50: '#9d9e60',
    500: '#72771c',
    950: '#000000',
  },
}
SCSS
$custom: #72771c;
$custom-light: #9d9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#72771c",
  "rgb": {
    "r": 114,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 63.297,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54768,
    "c": 0.11025,
    "h": 112.7
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#72771C
secondary
#4944AB
accent
#43E54C
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #72771C

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

Preview Lab → · Contrast checker → · Palette generator →

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