#628332#628332

#628332 is a mid, moderate yellow-green. Relative luminance 0.191; OKLCH L 56.7% C 0.116 H 128.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#628332
RGBrgb(98, 131, 50)
HSLhsl(84, 45%, 35%)
HSVhsv(84, 62%, 51%)
CMYKcmyk(25.2%, 0%, 61.8%, 48.6%)
CIE-LABlab(50.76, -25.40, 39.11)
CIE-LCHlch(50.76, 46.63, 123.00°)
OKLaboklab(56.68% -0.0717 0.0908)
OKLCHoklch(56.68% 0.116 128.3)
XYZxyz(13.7290, 19.0593, 5.9725)
Luminance0.1906 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628332 #533283
analogous
#837B32 #628332 #3A8332
triadic
#628332 #326283 #833262
tetradic
#628332 #32837B #533283 #83323A
square
#628332 #32837B #533283 #83323A
split-complementary
#628332 #323A83 #7B3283
monochromatic
#202A10 #415721 #628332 #83AF43 #A0C669

Accessibility & contrast

On white

4.36
#628332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#628332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628332
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628332#FFFFFF#000000##000000
##6283321.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A29
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#657D72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628332;
/* rgb */ color: rgb(98, 131, 50);
/* oklch */ color: oklch(56.7% 0.116 128.3);
Tailwind
colors: {
  custom: {
    50: '#91a76d',
    500: '#628332',
    950: '#000000',
  },
}
SCSS
$custom: #628332;
$custom-light: #91a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#628332",
  "rgb": {
    "r": 98,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 84.444,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.11565,
    "h": 128.3
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#628332
secondary
#8263AE
accent
#53D488
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628332

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

Preview Lab → · Contrast checker → · Palette generator →

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