#628E29#628E29

#628E29 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.138 H 130.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628E29
RGBrgb(98, 142, 41)
HSLhsl(86, 55%, 36%)
HSVhsv(86, 71%, 56%)
CMYKcmyk(31%, 0%, 71.1%, 44.3%)
CIE-LABlab(54.14, -31.45, 46.69)
CIE-LCHlch(54.14, 56.29, 123.96°)
OKLaboklab(59.4% -0.0891 0.1055)
OKLCHoklch(59.4% 0.138 130.2)
XYZxyz(15.1101, 22.1023, 5.5675)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E29 #55298E
analogous
#8E8729 #628E29 #2F8E29
triadic
#628E29 #29628E #8E2962
tetradic
#628E29 #298E87 #55298E #8E292F
square
#628E29 #298E87 #55298E #8E292F
split-complementary
#628E29 #292F8E #87298E
monochromatic
#202F0E #415F1B #628E29 #83BD37 #A0D160

Accessibility & contrast

On white

3.87
#628E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E29
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E29#FFFFFF#000000##000000
##628E291.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958419
Deuteranopia (green-blind)
#8F8032
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e29;
/* rgb */ color: rgb(98, 142, 41);
/* oklch */ color: oklch(59.4% 0.138 130.2);
Tailwind
colors: {
  custom: {
    50: '#92af69',
    500: '#628e29',
    950: '#000000',
  },
}
SCSS
$custom: #628e29;
$custom-light: #92af69;
$custom-dark: #000000;
JSON
{
  "hex": "#628e29",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 86.139,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.13812,
    "h": 130.2
  },
  "luminance": 0.22103
}

Semantic roles & 50–950 ramp

primary
#628E29
secondary
#845CB7
accent
#49DF8A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E29

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

Preview Lab → · Contrast checker → · Palette generator →

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