#72731F#72731F

#72731F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.8% C 0.104 H 110.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#72731F
RGBrgb(114, 115, 31)
HSLhsl(61, 58%, 29%)
HSVhsv(61, 73%, 45%)
CMYKcmyk(0.9%, 0%, 73%, 54.9%)
CIE-LABlab(46.89, -11.39, 43.83)
CIE-LCHlch(46.89, 45.28, 104.57°)
OKLaboklab(53.83% -0.0357 0.0975)
OKLCHoklch(53.83% 0.104 110.1)
XYZxyz(13.3179, 15.9382, 3.6709)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72731F #201F73
analogous
#734A1F #72731F #48731F
triadic
#72731F #1F7273 #731F72
tetradic
#72731F #1F734A #201F73 #731F48
square
#72731F #1F734A #201F73 #731F48
split-complementary
#72731F #1F4873 #4A1F73
monochromatic
#181806 #424312 #72731F #A2A32C #CACC41

Accessibility & contrast

On white

5.01
#72731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#72731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #72731F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72731F#FFFFFF#000000##FFFFFF
##72731F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E11
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#7A6B63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #72731f;
/* rgb */ color: rgb(114, 115, 31);
/* oklch */ color: oklch(53.8% 0.104 110.1);
Tailwind
colors: {
  custom: {
    50: '#9d9b61',
    500: '#72731f',
    950: '#000000',
  },
}
SCSS
$custom: #72731f;
$custom-light: #9d9b61;
$custom-dark: #000000;
JSON
{
  "hex": "#72731f",
  "rgb": {
    "r": 114,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 60.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.10378,
    "h": 110.1
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#72731F
secondary
#4847A7
accent
#47E149
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #72731F

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

Preview Lab → · Contrast checker → · Palette generator →

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