#628421#628421

#628421 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.130 H 126.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#628421
RGBrgb(98, 132, 33)
HSLhsl(81, 60%, 32%)
HSVhsv(81, 75%, 52%)
CMYKcmyk(25.8%, 0%, 75%, 48.2%)
CIE-LABlab(50.93, -27.21, 46.60)
CIE-LCHlch(50.93, 53.97, 120.28°)
OKLaboklab(56.78% -0.0782 0.1041)
OKLCHoklch(56.78% 0.13 126.9)
XYZxyz(13.5628, 19.2088, 4.4317)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628421 #432184
analogous
#847521 #628421 #318421
triadic
#628421 #216284 #842162
tetradic
#628421 #218475 #432184 #842131
square
#628421 #218475 #432184 #842131
split-complementary
#628421 #213184 #752184
monochromatic
#192209 #3E5315 #628421 #86B52D #A5D24D

Accessibility & contrast

On white

4.34
#628421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#628421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628421
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628421#FFFFFF#000000##000000
##6284211.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0E
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628421;
/* rgb */ color: rgb(98, 132, 33);
/* oklch */ color: oklch(56.8% 0.130 126.9);
Tailwind
colors: {
  custom: {
    50: '#92a864',
    500: '#628421',
    950: '#000000',
  },
}
SCSS
$custom: #628421;
$custom-light: #92a864;
$custom-dark: #000000;
JSON
{
  "hex": "#628421",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 80.606,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56776,
    "c": 0.13021,
    "h": 126.9
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#628421
secondary
#704BB6
accent
#45E37B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628421

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

Preview Lab → · Contrast checker → · Palette generator →

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