#628520#628520

#628520 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.0% C 0.132 H 127.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#628520
RGBrgb(98, 133, 32)
HSLhsl(81, 61%, 32%)
HSVhsv(81, 76%, 52%)
CMYKcmyk(26.3%, 0%, 75.9%, 47.8%)
CIE-LABlab(51.24, -27.76, 47.27)
CIE-LCHlch(51.24, 54.82, 120.42°)
OKLaboklab(57.02% -0.0798 0.1053)
OKLCHoklch(57.02% 0.132 127.1)
XYZxyz(13.6853, 19.4757, 4.4044)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628520 #432085
analogous
#857620 #628520 #308520
triadic
#628520 #206285 #852062
tetradic
#628520 #208576 #432085 #852030
square
#628520 #208576 #432085 #852030
split-complementary
#628520 #203085 #762085
monochromatic
#192208 #3E5414 #628520 #86B62C #A5D44C

Accessibility & contrast

On white

4.29
#628520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#628520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628520
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628520#FFFFFF#000000##000000
##6285201.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C0B
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#667F72
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628520;
/* rgb */ color: rgb(98, 133, 32);
/* oklch */ color: oklch(57.0% 0.132 127.1);
Tailwind
colors: {
  custom: {
    50: '#92a863',
    500: '#628520',
    950: '#000000',
  },
}
SCSS
$custom: #628520;
$custom-light: #92a863;
$custom-dark: #000000;
JSON
{
  "hex": "#628520",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 80.792,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.13215,
    "h": 127.1
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#628520
secondary
#704AB7
accent
#43E47B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628520

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

Preview Lab → · Contrast checker → · Palette generator →

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