#628829#628829

#628829 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.130 H 128.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#628829
RGBrgb(98, 136, 41)
HSLhsl(84, 54%, 35%)
HSVhsv(84, 70%, 53%)
CMYKcmyk(27.9%, 0%, 69.9%, 46.7%)
CIE-LABlab(52.25, -28.60, 44.74)
CIE-LCHlch(52.25, 53.10, 122.59°)
OKLaboklab(57.86% -0.0813 0.1015)
OKLCHoklch(57.86% 0.13 128.7)
XYZxyz(14.2414, 20.3647, 5.2779)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628829 #4F2988
analogous
#887F29 #628829 #338829
triadic
#628829 #296288 #882962
tetradic
#628829 #29887F #4F2988 #882933
square
#628829 #29887F #4F2988 #882933
split-complementary
#628829 #293388 #7F2988
monochromatic
#1E2A0D #40591B #628829 #84B737 #A1CE5D

Accessibility & contrast

On white

4.14
#628829 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#628829 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628829
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628829#FFFFFF#000000##000000
##6288291.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1B
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#658275
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628829;
/* rgb */ color: rgb(98, 136, 41);
/* oklch */ color: oklch(57.9% 0.130 128.7);
Tailwind
colors: {
  custom: {
    50: '#92ab68',
    500: '#628829',
    950: '#000000',
  },
}
SCSS
$custom: #628829;
$custom-light: #92ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#628829",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 41
  },
  "hsl": {
    "h": 84,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.13003,
    "h": 128.7
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#628829
secondary
#7D59B4
accent
#4BDD85
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628829

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

Preview Lab → · Contrast checker → · Palette generator →

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