#628F29#628F29

#628F29 is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.7% C 0.139 H 130.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#628F29
RGBrgb(98, 143, 41)
HSLhsl(86, 55%, 36%)
HSVhsv(86, 71%, 56%)
CMYKcmyk(31.5%, 0%, 71.3%, 43.9%)
CIE-LABlab(54.45, -31.91, 47.01)
CIE-LCHlch(54.45, 56.82, 124.17°)
OKLaboklab(59.65% -0.0904 0.1062)
OKLCHoklch(59.65% 0.139 130.4)
XYZxyz(15.2596, 22.4012, 5.6173)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F29 #56298F
analogous
#8F8929 #628F29 #2F8F29
triadic
#628F29 #29628F #8F2962
tetradic
#628F29 #298F89 #56298F #8F292F
square
#628F29 #298F89 #56298F #8F292F
split-complementary
#628F29 #292F8F #89298F
monochromatic
#21300E #415F1B #628F29 #83BF37 #A0D261

Accessibility & contrast

On white

3.83
#628F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#628F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F29
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F29#FFFFFF#000000##000000
##628F291.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968419
Deuteranopia (green-blind)
#8F8132
Tritanopia (blue-blind)
#64897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f29;
/* rgb */ color: rgb(98, 143, 41);
/* oklch */ color: oklch(59.7% 0.139 130.4);
Tailwind
colors: {
  custom: {
    50: '#92b069',
    500: '#628f29',
    950: '#000000',
  },
}
SCSS
$custom: #628f29;
$custom-light: #92b069;
$custom-dark: #000000;
JSON
{
  "hex": "#628f29",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 86.471,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59653,
    "c": 0.13946,
    "h": 130.4
  },
  "luminance": 0.22402
}

Semantic roles & 50–950 ramp

primary
#628F29
secondary
#855CB7
accent
#49DF8B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F29

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

Preview Lab → · Contrast checker → · Palette generator →

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