#62731F#62731F

#62731F is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.109 H 120.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#62731F
RGBrgb(98, 115, 31)
HSLhsl(72, 58%, 29%)
HSVhsv(72, 73%, 45%)
CMYKcmyk(14.8%, 0%, 73%, 54.9%)
CIE-LABlab(45.58, -18.72, 42.08)
CIE-LCHlch(45.58, 46.06, 113.98°)
OKLaboklab(52.44% -0.0551 0.0943)
OKLCHoklch(52.44% 0.109 120.3)
XYZxyz(11.4153, 14.9571, 3.5817)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62731F #301F73
analogous
#735A1F #62731F #38731F
triadic
#62731F #1F6273 #731F62
tetradic
#62731F #1F735A #301F73 #731F38
square
#62731F #1F735A #301F73 #731F38
split-complementary
#62731F #1F3873 #5A1F73
monochromatic
#151806 #394312 #62731F #8BA32C #B0CC41

Accessibility & contrast

On white

5.26
#62731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#62731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62731F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62731F#FFFFFF#000000##FFFFFF
##62731F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#686D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #62731f;
/* rgb */ color: rgb(98, 115, 31);
/* oklch */ color: oklch(52.4% 0.109 120.3);
Tailwind
colors: {
  custom: {
    50: '#919b61',
    500: '#62731f',
    950: '#000000',
  },
}
SCSS
$custom: #62731f;
$custom-light: #919b61;
$custom-dark: #000000;
JSON
{
  "hex": "#62731f",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 72.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52442,
    "c": 0.10918,
    "h": 120.3
  },
  "luminance": 0.14957
}

Semantic roles & 50–950 ramp

primary
#62731F
secondary
#5A47A7
accent
#47E166
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62731F

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

Preview Lab → · Contrast checker → · Palette generator →

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