#628C2B#628C2B

#628C2B is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.9% C 0.134 H 129.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#628C2B
RGBrgb(98, 140, 43)
HSLhsl(86, 53%, 36%)
HSVhsv(86, 69%, 55%)
CMYKcmyk(30%, 0%, 69.3%, 45.1%)
CIE-LABlab(53.52, -30.36, 45.23)
CIE-LCHlch(53.52, 54.48, 123.87°)
OKLaboklab(58.9% -0.0859 0.1028)
OKLCHoklch(58.9% 0.134 129.9)
XYZxyz(14.8510, 21.5268, 5.6577)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C2B #552B8C
analogous
#8C852B #628C2B #328C2B
triadic
#628C2B #2B628C #8C2B62
tetradic
#628C2B #2B8C85 #552B8C #8C2B32
square
#628C2B #2B8C85 #552B8C #8C2B32
split-complementary
#628C2B #2B328C #852B8C
monochromatic
#202E0E #415D1D #628C2B #83BB39 #A0CF62

Accessibility & contrast

On white

3.96
#628C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#628C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C2B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C2B#FFFFFF#000000##000000
##628C2B1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821D
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c2b;
/* rgb */ color: rgb(98, 140, 43);
/* oklch */ color: oklch(58.9% 0.134 129.9);
Tailwind
colors: {
  custom: {
    50: '#92ae6a',
    500: '#628c2b',
    950: '#000000',
  },
}
SCSS
$custom: #628c2b;
$custom-light: #92ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628c2b",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 85.979,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58903,
    "c": 0.13398,
    "h": 129.9
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#628C2B
secondary
#845EB5
accent
#4BDC8A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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