#62721F#62721F

#62721F is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.2% C 0.108 H 119.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#62721F
RGBrgb(98, 114, 31)
HSLhsl(72, 57%, 28%)
HSVhsv(72, 73%, 45%)
CMYKcmyk(14%, 0%, 72.8%, 55.3%)
CIE-LABlab(45.26, -18.19, 41.77)
CIE-LCHlch(45.26, 45.56, 113.54°)
OKLaboklab(52.19% -0.0536 0.0936)
OKLCHoklch(52.19% 0.108 119.8)
XYZxyz(11.3018, 14.7303, 3.5439)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62721F #2F1F72
analogous
#72581F #62721F #38721F
triadic
#62721F #1F6272 #721F62
tetradic
#62721F #1F7258 #2F1F72 #721F38
square
#62721F #1F7258 #2F1F72 #721F38
split-complementary
#62721F #1F3872 #581F72
monochromatic
#151807 #394212 #62721F #8BA22C #B0CB40

Accessibility & contrast

On white

5.32
#62721F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#62721F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62721F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62721F#FFFFFF#000000##FFFFFF
##62721F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B12
Deuteranopia (green-blind)
#786B26
Tritanopia (blue-blind)
#686C62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #62721f;
/* rgb */ color: rgb(98, 114, 31);
/* oklch */ color: oklch(52.2% 0.108 119.8);
Tailwind
colors: {
  custom: {
    50: '#919a60',
    500: '#62721f',
    950: '#000000',
  },
}
SCSS
$custom: #62721f;
$custom-light: #919a60;
$custom-dark: #000000;
JSON
{
  "hex": "#62721f",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 31
  },
  "hsl": {
    "h": 71.566,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.10787,
    "h": 119.8
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#62721F
secondary
#5947A6
accent
#47E065
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62721F

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

Preview Lab → · Contrast checker → · Palette generator →

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