#628229#628229

#628229 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.122 H 127.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#628229
RGBrgb(98, 130, 41)
HSLhsl(82, 52%, 34%)
HSVhsv(82, 68%, 51%)
CMYKcmyk(24.6%, 0%, 68.5%, 49%)
CIE-LABlab(50.36, -25.68, 42.78)
CIE-LCHlch(50.36, 49.89, 120.97°)
OKLaboklab(56.33% -0.0733 0.0973)
OKLCHoklch(56.33% 0.122 127)
XYZxyz(13.4199, 18.7218, 5.0040)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628229 #492982
analogous
#827529 #628229 #358229
triadic
#628229 #296282 #822962
tetradic
#628229 #298275 #492982 #822935
square
#628229 #298275 #492982 #822935
split-complementary
#628229 #293582 #752982
monochromatic
#1C250C #3F531A #628229 #85B138 #A3CB5A

Accessibility & contrast

On white

4.43
#628229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628229
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628229#FFFFFF#000000##000000
##6282291.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89791D
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#667C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628229;
/* rgb */ color: rgb(98, 130, 41);
/* oklch */ color: oklch(56.3% 0.122 127.0);
Tailwind
colors: {
  custom: {
    50: '#91a668',
    500: '#628229',
    950: '#000000',
  },
}
SCSS
$custom: #628229;
$custom-light: #91a668;
$custom-dark: #000000;
JSON
{
  "hex": "#628229",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 81.573,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.12183,
    "h": 127
  },
  "luminance": 0.18722
}

Semantic roles & 50–950 ramp

primary
#628229
secondary
#7756B0
accent
#4CDB80
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628229

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

Preview Lab → · Contrast checker → · Palette generator →

#628229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva