#72781F#72781F

#72781F is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.0% C 0.109 H 113.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#72781F
RGBrgb(114, 120, 31)
HSLhsl(64, 59%, 30%)
HSVhsv(64, 74%, 47%)
CMYKcmyk(5%, 0%, 74.2%, 52.9%)
CIE-LABlab(48.40, -14.13, 45.30)
CIE-LCHlch(48.40, 47.45, 107.32°)
OKLaboklab(55.03% -0.0433 0.1005)
OKLCHoklch(55.03% 0.109 113.3)
XYZxyz(13.9036, 17.1096, 3.8661)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72781F #251F78
analogous
#78521F #72781F #46781F
triadic
#72781F #1F7278 #781F72
tetradic
#72781F #1F7852 #251F78 #781F46
square
#72781F #1F7852 #251F78 #781F46
split-complementary
#72781F #1F4678 #521F78
monochromatic
#171806 #444712 #72781F #A0A92C #C5CE43

Accessibility & contrast

On white

4.75
#72781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#72781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #72781F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72781F#FFFFFF#000000##FFFFFF
##72781F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#7A7167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #72781f;
/* rgb */ color: rgb(114, 120, 31);
/* oklch */ color: oklch(55.0% 0.109 113.3);
Tailwind
colors: {
  custom: {
    50: '#9d9e61',
    500: '#72781f',
    950: '#000000',
  },
}
SCSS
$custom: #72781f;
$custom-light: #9d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#72781f",
  "rgb": {
    "r": 114,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 64.045,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5503,
    "c": 0.10947,
    "h": 113.3
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#72781F
secondary
#4E47AB
accent
#46E250
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #72781F

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

Preview Lab → · Contrast checker → · Palette generator →

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