#628620#628620

#628620 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.133 H 127.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#628620
RGBrgb(98, 134, 32)
HSLhsl(81, 61%, 33%)
HSVhsv(81, 76%, 53%)
CMYKcmyk(26.9%, 0%, 76.1%, 47.5%)
CIE-LABlab(51.55, -28.24, 47.58)
CIE-LCHlch(51.55, 55.33, 120.69°)
OKLaboklab(57.28% -0.0811 0.106)
OKLCHoklch(57.28% 0.133 127.4)
XYZxyz(13.8228, 19.7509, 4.4503)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628620 #442086
analogous
#867720 #628620 #2F8620
triadic
#628620 #206286 #862062
tetradic
#628620 #208677 #442086 #86202F
square
#628620 #208677 #442086 #86202F
split-complementary
#628620 #202F86 #772086
monochromatic
#1A2308 #3E5514 #628620 #86B72C #A4D44C

Accessibility & contrast

On white

4.24
#628620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#628620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628620
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628620#FFFFFF#000000##000000
##6286201.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0B
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#668072
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628620;
/* rgb */ color: rgb(98, 134, 32);
/* oklch */ color: oklch(57.3% 0.133 127.4);
Tailwind
colors: {
  custom: {
    50: '#92a963',
    500: '#628620',
    950: '#000000',
  },
}
SCSS
$custom: #628620;
$custom-light: #92a963;
$custom-dark: #000000;
JSON
{
  "hex": "#628620",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 81.176,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.13347,
    "h": 127.4
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#628620
secondary
#714BB7
accent
#43E57C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628620

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

Preview Lab → · Contrast checker → · Palette generator →

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