#628D2C#628D2C

#628D2C is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.2% C 0.135 H 130.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#628D2C
RGBrgb(98, 141, 44)
HSLhsl(87, 52%, 36%)
HSVhsv(87, 69%, 55%)
CMYKcmyk(30.5%, 0%, 68.8%, 44.7%)
CIE-LABlab(53.84, -30.75, 45.15)
CIE-LCHlch(53.84, 54.63, 124.26°)
OKLaboklab(59.17% -0.0869 0.1028)
OKLCHoklch(59.17% 0.135 130.2)
XYZxyz(15.0164, 21.8278, 5.8044)
Luminance0.2183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D2C #572C8D
analogous
#8D882C #628D2C #328D2C
triadic
#628D2C #2C628D #8D2C62
tetradic
#628D2C #2C8D88 #572C8D #8D2C32
square
#628D2C #2C8D88 #572C8D #8D2C32
split-complementary
#628D2C #2C328D #882C8D
monochromatic
#21300F #425E1D #628D2C #82BC3B #A0CF65

Accessibility & contrast

On white

3.91
#628D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#628D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D2C
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D2C#FFFFFF#000000##000000
##628D2C1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831E
Deuteranopia (green-blind)
#8D8034
Tritanopia (blue-blind)
#648779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d2c;
/* rgb */ color: rgb(98, 141, 44);
/* oklch */ color: oklch(59.2% 0.135 130.2);
Tailwind
colors: {
  custom: {
    50: '#92ae6b',
    500: '#628d2c',
    950: '#000000',
  },
}
SCSS
$custom: #628d2c;
$custom-light: #92ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628d2c",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 86.598,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.1346,
    "h": 130.2
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#628D2C
secondary
#8660B5
accent
#4CDC8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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