#72821C#72821C

#72821C is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.4% C 0.123 H 118.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#72821C
RGBrgb(114, 130, 28)
HSLhsl(69, 65%, 31%)
HSVhsv(69, 78%, 51%)
CMYKcmyk(12.3%, 0%, 78.5%, 49%)
CIE-LABlab(51.41, -19.58, 49.25)
CIE-LCHlch(51.41, 53.00, 111.68°)
OKLaboklab(57.45% -0.0587 0.1083)
OKLCHoklch(57.45% 0.123 118.4)
XYZxyz(15.1320, 19.6266, 4.0895)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72821C #2C1C82
analogous
#825F1C #72821C #3F821C
triadic
#72821C #1C7282 #821C72
tetradic
#72821C #1C825F #2C1C82 #821C3F
square
#72821C #1C825F #2C1C82 #821C3F
split-complementary
#72821C #1C3F82 #5F1C82
monochromatic
#1A1D06 #465011 #72821C #9EB427 #BFD642

Accessibility & contrast

On white

4.26
#72821C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#72821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #72821C
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72821C#FFFFFF#000000##000000
##72821C1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A03
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#797A6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #72821c;
/* rgb */ color: rgb(114, 130, 28);
/* oklch */ color: oklch(57.4% 0.123 118.4);
Tailwind
colors: {
  custom: {
    50: '#9ea661',
    500: '#72821c',
    950: '#000000',
  },
}
SCSS
$custom: #72821c;
$custom-light: #9ea661;
$custom-dark: #000000;
JSON
{
  "hex": "#72821c",
  "rgb": {
    "r": 114,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 69.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57445,
    "c": 0.12322,
    "h": 118.4
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#72821C
secondary
#5644B5
accent
#40E85A
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #72821C

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

Preview Lab → · Contrast checker → · Palette generator →

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