#62821D#62821D

#62821D is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.130 H 126.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#62821D
RGBrgb(98, 130, 29)
HSLhsl(79, 64%, 31%)
HSVhsv(79, 78%, 51%)
CMYKcmyk(24.6%, 0%, 77.7%, 49%)
CIE-LABlab(50.28, -26.47, 47.43)
CIE-LCHlch(50.28, 54.31, 119.17°)
OKLaboklab(56.24% -0.0765 0.1052)
OKLCHoklch(56.24% 0.13 126)
XYZxyz(13.2415, 18.6504, 4.0644)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62821D #3D1D82
analogous
#826F1D #62821D #2F821D
triadic
#62821D #1D6282 #821D62
tetradic
#62821D #1D826F #3D1D82 #821D2F
square
#62821D #1D826F #3D1D82 #821D2F
split-complementary
#62821D #1D2F82 #6F1D82
monochromatic
#171E07 #3C5012 #62821D #88B428 #A7D544

Accessibility & contrast

On white

4.44
#62821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#62821D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #62821D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62821D#FFFFFF#000000##000000
##62821D1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897906
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62821d;
/* rgb */ color: rgb(98, 130, 29);
/* oklch */ color: oklch(56.2% 0.130 126.0);
Tailwind
colors: {
  custom: {
    50: '#92a661',
    500: '#62821d',
    950: '#000000',
  },
}
SCSS
$custom: #62821d;
$custom-light: #92a661;
$custom-dark: #000000;
JSON
{
  "hex": "#62821d",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 79.01,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.13006,
    "h": 126
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#62821D
secondary
#6946B5
accent
#41E776
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #62821D

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

Preview Lab → · Contrast checker → · Palette generator →

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