#629820#629820

#629820 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.9% C 0.157 H 131.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#629820
RGBrgb(98, 152, 32)
HSLhsl(87, 65%, 36%)
HSVhsv(87, 79%, 60%)
CMYKcmyk(35.5%, 0%, 78.9%, 40.4%)
CIE-LABlab(57.23, -36.57, 53.00)
CIE-LCHlch(57.23, 64.39, 124.61°)
OKLaboklab(61.9% -0.1037 0.1174)
OKLCHoklch(61.9% 0.157 131.5)
XYZxyz(16.5258, 25.1568, 5.3512)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#629820 #562098
analogous
#989220 #629820 #269820
triadic
#629820 #206298 #982062
tetradic
#629820 #209892 #562098 #982026
square
#629820 #209892 #562098 #982026
split-complementary
#629820 #202698 #922098
monochromatic
#21330B #416515 #629820 #83CB2B #A0DC57

Accessibility & contrast

On white

3.48
#629820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#629820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #629820
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##629820#FFFFFF#000000##000000
##6298201.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#98882D
Tritanopia (blue-blind)
#649182
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #629820;
/* rgb */ color: rgb(98, 152, 32);
/* oklch */ color: oklch(61.9% 0.157 131.5);
Tailwind
colors: {
  custom: {
    50: '#93b666',
    500: '#629820',
    950: '#000000',
  },
}
SCSS
$custom: #629820;
$custom-light: #93b666;
$custom-dark: #000000;
JSON
{
  "hex": "#629820",
  "rgb": {
    "r": 98,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 87,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.619,
    "c": 0.15661,
    "h": 131.5
  },
  "luminance": 0.25157
}

Semantic roles & 50–950 ramp

primary
#629820
secondary
#8554BF
accent
#40E88B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #629820

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

Preview Lab → · Contrast checker → · Palette generator →

#629820 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva