#62731D#62731D

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

Color values

HEX#62731D
RGBrgb(98, 115, 29)
HSLhsl(72, 60%, 28%)
HSVhsv(72, 75%, 45%)
CMYKcmyk(14.8%, 0%, 74.8%, 54.9%)
CIE-LABlab(45.56, -18.84, 42.87)
CIE-LCHlch(45.56, 46.83, 113.73°)
OKLaboklab(52.43% -0.0556 0.0956)
OKLCHoklch(52.43% 0.111 120.2)
XYZxyz(11.3897, 14.9469, 3.4472)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62731D #2E1D73
analogous
#73591D #62731D #37731D
triadic
#62731D #1D6273 #731D62
tetradic
#62731D #1D7359 #2E1D73 #731D37
square
#62731D #1D7359 #2E1D73 #731D37
split-complementary
#62731D #1D3773 #591D73
monochromatic
#151806 #384211 #62731D #8CA429 #B1CE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62731D#FFFFFF#000000##FFFFFF
##62731D1.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)
#7B6C0D
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#686D62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #62731d;
/* rgb */ color: rgb(98, 115, 29);
/* oklch */ color: oklch(52.4% 0.111 120.2);
Tailwind
colors: {
  custom: {
    50: '#919b5f',
    500: '#62731d',
    950: '#000000',
  },
}
SCSS
$custom: #62731d;
$custom-light: #919b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#62731d",
  "rgb": {
    "r": 98,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 71.86,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.11058,
    "h": 120.2
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#62731D
secondary
#5845A7
accent
#45E364
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #62731D

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

Preview Lab → · Contrast checker → · Palette generator →

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