#628B29#628B29

#628B29 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.6% C 0.134 H 129.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#628B29
RGBrgb(98, 139, 41)
HSLhsl(85, 54%, 35%)
HSVhsv(85, 71%, 55%)
CMYKcmyk(29.5%, 0%, 70.5%, 45.5%)
CIE-LABlab(53.19, -30.03, 45.72)
CIE-LCHlch(53.19, 54.70, 123.30°)
OKLaboklab(58.63% -0.0852 0.1035)
OKLCHoklch(58.63% 0.134 129.5)
XYZxyz(14.6698, 21.2216, 5.4207)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B29 #52298B
analogous
#8B8329 #628B29 #318B29
triadic
#628B29 #29628B #8B2962
tetradic
#628B29 #298B83 #52298B #8B2931
square
#628B29 #298B83 #52298B #8B2931
split-complementary
#628B29 #29318B #83298B
monochromatic
#1F2C0D #415C1B #628B29 #83BA37 #A0D05F

Accessibility & contrast

On white

4.00
#628B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#628B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B29
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B29#FFFFFF#000000##000000
##628B291.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811A
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b29;
/* rgb */ color: rgb(98, 139, 41);
/* oklch */ color: oklch(58.6% 0.134 129.5);
Tailwind
colors: {
  custom: {
    50: '#92ad69',
    500: '#628b29',
    950: '#000000',
  },
}
SCSS
$custom: #628b29;
$custom-light: #92ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#628b29",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 85.102,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.13409,
    "h": 129.5
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#628B29
secondary
#805BB5
accent
#4ADE88
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B29

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

Preview Lab → · Contrast checker → · Palette generator →

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