#72791B#72791B

#72791B is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.113 H 113.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#72791B
RGBrgb(114, 121, 27)
HSLhsl(64, 64%, 29%)
HSVhsv(64, 78%, 47%)
CMYKcmyk(5.8%, 0%, 77.7%, 52.5%)
CIE-LABlab(48.68, -14.87, 47.05)
CIE-LCHlch(48.68, 49.34, 107.54°)
OKLaboklab(55.25% -0.0458 0.1035)
OKLCHoklch(55.25% 0.113 113.9)
XYZxyz(13.9751, 17.3316, 3.6458)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72791B #221B79
analogous
#79511B #72791B #43791B
triadic
#72791B #1B7279 #791B72
tetradic
#72791B #1B7951 #221B79 #791B43
square
#72791B #1B7951 #221B79 #791B43
split-complementary
#72791B #1B4379 #511B79
monochromatic
#181906 #434710 #72791B #A1AB26 #C8D33B

Accessibility & contrast

On white

4.70
#72791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#72791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #72791B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72791B#FFFFFF#000000##FFFFFF
##72791B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#7A7167
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #72791b;
/* rgb */ color: rgb(114, 121, 27);
/* oklch */ color: oklch(55.2% 0.113 113.9);
Tailwind
colors: {
  custom: {
    50: '#9e9f60',
    500: '#72791b',
    950: '#000000',
  },
}
SCSS
$custom: #72791b;
$custom-light: #9e9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#72791b",
  "rgb": {
    "r": 114,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 64.468,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55245,
    "c": 0.11316,
    "h": 113.9
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#72791B
secondary
#4B43AD
accent
#41E74E
background
#FAF9F5
surface
#F3F2EA
border
#CDCCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #72791B

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

Preview Lab → · Contrast checker → · Palette generator →

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