#628C29#628C29

#628C29 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.135 H 129.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#628C29
RGBrgb(98, 140, 41)
HSLhsl(85, 55%, 35%)
HSVhsv(85, 71%, 55%)
CMYKcmyk(30%, 0%, 70.7%, 45.1%)
CIE-LABlab(53.51, -30.51, 46.04)
CIE-LCHlch(53.51, 55.23, 123.53°)
OKLaboklab(58.89% -0.0865 0.1042)
OKLCHoklch(58.89% 0.135 129.7)
XYZxyz(14.8152, 21.5125, 5.4692)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C29 #53298C
analogous
#8C8429 #628C29 #308C29
triadic
#628C29 #29628C #8C2962
tetradic
#628C29 #298C84 #53298C #8C2930
square
#628C29 #298C84 #53298C #8C2930
split-complementary
#628C29 #29308C #84298C
monochromatic
#202D0D #415D1B #628C29 #83BB37 #A0D05F

Accessibility & contrast

On white

3.96
#628C29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#628C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C29
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C29#FFFFFF#000000##000000
##628C291.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821A
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c29;
/* rgb */ color: rgb(98, 140, 41);
/* oklch */ color: oklch(58.9% 0.135 129.7);
Tailwind
colors: {
  custom: {
    50: '#92ae69',
    500: '#628c29',
    950: '#000000',
  },
}
SCSS
$custom: #628c29;
$custom-light: #92ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#628c29",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 85.455,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.13544,
    "h": 129.7
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#628C29
secondary
#825BB6
accent
#4ADE89
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C29

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

Preview Lab → · Contrast checker → · Palette generator →

#628C29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva