#628D3B#628D3B

#628D3B is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.122 H 132.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#628D3B
RGBrgb(98, 141, 59)
HSLhsl(91, 41%, 39%)
HSVhsv(91, 58%, 55%)
CMYKcmyk(30.5%, 0%, 58.2%, 44.7%)
CIE-LABlab(53.99, -29.37, 38.44)
CIE-LCHlch(53.99, 48.38, 127.38°)
OKLaboklab(59.33% -0.0819 0.0903)
OKLCHoklch(59.33% 0.122 132.2)
XYZxyz(15.3511, 21.9617, 7.5670)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D3B #663B8D
analogous
#8B8D3B #628D3B #3B8D3D
triadic
#628D3B #3B628D #8D3B62
tetradic
#628D3B #3B8B8D #663B8D #8D3D3B
square
#628D3B #3B8B8D #663B8D #8D3D3B
split-complementary
#628D3B #3D3B8D #8D3B8B
monochromatic
#263717 #446229 #628D3B #80B650 #9FC87B

Accessibility & contrast

On white

3.89
#628D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#628D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D3B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D3B#FFFFFF#000000##000000
##628D3B1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938333
Deuteranopia (green-blind)
#8C8041
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d3b;
/* rgb */ color: rgb(98, 141, 59);
/* oklch */ color: oklch(59.3% 0.122 132.2);
Tailwind
colors: {
  custom: {
    50: '#91ae74',
    500: '#628d3b',
    950: '#000000',
  },
}
SCSS
$custom: #628d3b;
$custom-light: #91ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#628d3b",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 91.463,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59329,
    "c": 0.12187,
    "h": 132.2
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#628D3B
secondary
#9373B1
accent
#57D197
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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