#628E32#628E32

#628E32 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.131 H 131.1°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#628E32
RGBrgb(98, 142, 50)
HSLhsl(89, 48%, 38%)
HSVhsv(89, 65%, 56%)
CMYKcmyk(31%, 0%, 64.8%, 44.3%)
CIE-LABlab(54.21, -30.72, 42.92)
CIE-LCHlch(54.21, 52.78, 125.59°)
OKLaboklab(59.48% -0.0863 0.0989)
OKLCHoklch(59.48% 0.131 131.1)
XYZxyz(15.2856, 22.1725, 6.4914)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E32 #5E328E
analogous
#8E8C32 #628E32 #348E32
triadic
#628E32 #32628E #8E3262
tetradic
#628E32 #328E8C #5E328E #8E3234
square
#628E32 #328E8C #5E328E #8E3234
split-complementary
#628E32 #32348E #8C328E
monochromatic
#243312 #436122 #628E32 #81BB42 #9FCC6E

Accessibility & contrast

On white

3.86
#628E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#628E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E32
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E32#FFFFFF#000000##000000
##628E321.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948427
Deuteranopia (green-blind)
#8E8039
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e32;
/* rgb */ color: rgb(98, 142, 50);
/* oklch */ color: oklch(59.5% 0.131 131.1);
Tailwind
colors: {
  custom: {
    50: '#92af6e',
    500: '#628e32',
    950: '#000000',
  },
}
SCSS
$custom: #628e32;
$custom-light: #92af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628e32",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 88.696,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.13126,
    "h": 131.1
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#628E32
secondary
#8C68B4
accent
#50D891
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E32

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

Preview Lab → · Contrast checker → · Palette generator →

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