#628720#628720

#628720 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.5% C 0.135 H 127.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#628720
RGBrgb(98, 135, 32)
HSLhsl(82, 62%, 33%)
HSVhsv(82, 76%, 53%)
CMYKcmyk(27.4%, 0%, 76.3%, 47.1%)
CIE-LABlab(51.87, -28.72, 47.89)
CIE-LCHlch(51.87, 55.84, 120.96°)
OKLaboklab(57.54% -0.0824 0.1066)
OKLCHoklch(57.54% 0.135 127.7)
XYZxyz(13.9617, 20.0286, 4.4965)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628720 #452087
analogous
#877820 #628720 #2F8720
triadic
#628720 #206287 #872062
tetradic
#628720 #208778 #452087 #87202F
square
#628720 #208778 #452087 #87202F
split-complementary
#628720 #202F87 #782087
monochromatic
#1A2409 #3E5614 #628720 #86B82C #A4D54D

Accessibility & contrast

On white

4.20
#628720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#628720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628720
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628720#FFFFFF#000000##000000
##6287201.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0A
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#668173
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628720;
/* rgb */ color: rgb(98, 135, 32);
/* oklch */ color: oklch(57.5% 0.135 127.7);
Tailwind
colors: {
  custom: {
    50: '#92aa64',
    500: '#628720',
    950: '#000000',
  },
}
SCSS
$custom: #628720;
$custom-light: #92aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#628720",
  "rgb": {
    "r": 98,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 81.553,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.13478,
    "h": 127.7
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#628720
secondary
#724BB8
accent
#43E57D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628720

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

Preview Lab → · Contrast checker → · Palette generator →

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