#62821A#62821A

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

Color values

HEX#62821A
RGBrgb(98, 130, 26)
HSLhsl(78, 67%, 31%)
HSVhsv(78, 80%, 51%)
CMYKcmyk(24.6%, 0%, 80%, 49%)
CIE-LABlab(50.26, -26.63, 48.43)
CIE-LCHlch(50.26, 55.27, 118.80°)
OKLaboklab(56.22% -0.0772 0.1068)
OKLCHoklch(56.22% 0.132 125.9)
XYZxyz(13.2062, 18.6363, 3.8785)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62821A #3A1A82
analogous
#826E1A #62821A #2E821A
triadic
#62821A #1A6282 #821A62
tetradic
#62821A #1A826E #3A1A82 #821A2E
square
#62821A #1A826E #3A1A82 #821A2E
split-complementary
#62821A #1A2E82 #6E1A82
monochromatic
#151C06 #3C4F10 #62821A #88B524 #A9D83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62821A#FFFFFF#000000##000000
##62821A1.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)
#897900
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#677B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62821a;
/* rgb */ color: rgb(98, 130, 26);
/* oklch */ color: oklch(56.2% 0.132 125.9);
Tailwind
colors: {
  custom: {
    50: '#92a660',
    500: '#62821a',
    950: '#000000',
  },
}
SCSS
$custom: #62821a;
$custom-light: #92a660;
$custom-dark: #000000;
JSON
{
  "hex": "#62821a",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 78.462,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.13175,
    "h": 125.9
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#62821A
secondary
#6642B6
accent
#3EEA73
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #62821A

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

Preview Lab → · Contrast checker → · Palette generator →

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