#628D29#628D29

#628D29 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.137 H 129.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#628D29
RGBrgb(98, 141, 41)
HSLhsl(86, 55%, 36%)
HSVhsv(86, 71%, 55%)
CMYKcmyk(30.5%, 0%, 70.9%, 44.7%)
CIE-LABlab(53.82, -30.98, 46.37)
CIE-LCHlch(53.82, 55.76, 123.75°)
OKLaboklab(59.14% -0.0878 0.1049)
OKLCHoklch(59.14% 0.137 129.9)
XYZxyz(14.9620, 21.8061, 5.5181)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D29 #54298D
analogous
#8D8629 #628D29 #308D29
triadic
#628D29 #29628D #8D2962
tetradic
#628D29 #298D86 #54298D #8D2930
square
#628D29 #298D86 #54298D #8D2930
split-complementary
#628D29 #29308D #86298D
monochromatic
#202E0D #415E1B #628D29 #83BC37 #A0D160

Accessibility & contrast

On white

3.92
#628D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#628D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D29
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D29#FFFFFF#000000##000000
##628D291.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d29;
/* rgb */ color: rgb(98, 141, 41);
/* oklch */ color: oklch(59.1% 0.137 129.9);
Tailwind
colors: {
  custom: {
    50: '#92ae69',
    500: '#628d29',
    950: '#000000',
  },
}
SCSS
$custom: #628d29;
$custom-light: #92ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#628d29",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 85.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.13678,
    "h": 129.9
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628D29

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

Preview Lab → · Contrast checker → · Palette generator →

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