#62821B#62821B

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

Color values

HEX#62821B
RGBrgb(98, 130, 27)
HSLhsl(79, 66%, 31%)
HSVhsv(79, 79%, 51%)
CMYKcmyk(24.6%, 0%, 79.2%, 49%)
CIE-LABlab(50.26, -26.58, 48.11)
CIE-LCHlch(50.26, 54.96, 118.92°)
OKLaboklab(56.22% -0.077 0.1062)
OKLCHoklch(56.22% 0.131 125.9)
XYZxyz(13.2176, 18.6409, 3.9384)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62821B #3B1B82
analogous
#826E1B #62821B #2E821B
triadic
#62821B #1B6282 #821B62
tetradic
#62821B #1B826E #3B1B82 #821B2E
square
#62821B #1B826E #3B1B82 #821B2E
split-complementary
#62821B #1B2E82 #6E1B82
monochromatic
#161D06 #3C4F10 #62821B #88B526 #A8D740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##62821B#FFFFFF#000000##000000
##62821B1.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)
#897901
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#677C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #62821b;
/* rgb */ color: rgb(98, 130, 27);
/* oklch */ color: oklch(56.2% 0.131 125.9);
Tailwind
colors: {
  custom: {
    50: '#92a661',
    500: '#62821b',
    950: '#000000',
  },
}
SCSS
$custom: #62821b;
$custom-light: #92a661;
$custom-dark: #000000;
JSON
{
  "hex": "#62821b",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 78.641,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.1312,
    "h": 125.9
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#62821B
secondary
#6743B6
accent
#3FE974
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #62821B

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

Preview Lab → · Contrast checker → · Palette generator →

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