#628827#628827

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

Color values

HEX#628827
RGBrgb(98, 136, 39)
HSLhsl(84, 55%, 34%)
HSVhsv(84, 71%, 53%)
CMYKcmyk(27.9%, 0%, 71.3%, 46.7%)
CIE-LABlab(52.23, -28.75, 45.55)
CIE-LCHlch(52.23, 53.87, 122.26°)
OKLaboklab(57.85% -0.0819 0.1029)
OKLCHoklch(57.85% 0.131 128.5)
XYZxyz(14.2073, 20.3511, 5.0987)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628827 #4D2788
analogous
#887E27 #628827 #328827
triadic
#628827 #276288 #882762
tetradic
#628827 #27887E #4D2788 #882732
square
#628827 #27887E #4D2788 #882732
split-complementary
#628827 #273288 #7E2788
monochromatic
#1D290C #405819 #628827 #84B835 #A1D05A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628827#FFFFFF#000000##000000
##6288271.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)
#8F7E18
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#658275
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628827;
/* rgb */ color: rgb(98, 136, 39);
/* oklch */ color: oklch(57.8% 0.131 128.5);
Tailwind
colors: {
  custom: {
    50: '#92ab67',
    500: '#628827',
    950: '#000000',
  },
}
SCSS
$custom: #628827;
$custom-light: #92ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#628827",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 83.505,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.13148,
    "h": 128.5
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#628827
secondary
#7B56B5
accent
#49DF84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628827

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

Preview Lab → · Contrast checker → · Palette generator →

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