#628B2C#628B2C

#628B2C is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.132 H 129.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#628B2C
RGBrgb(98, 139, 44)
HSLhsl(86, 52%, 36%)
HSVhsv(86, 68%, 55%)
CMYKcmyk(29.5%, 0%, 68.3%, 45.5%)
CIE-LABlab(53.21, -29.80, 44.49)
CIE-LCHlch(53.21, 53.55, 123.82°)
OKLaboklab(58.66% -0.0843 0.1014)
OKLCHoklch(58.66% 0.132 129.8)
XYZxyz(14.7242, 21.2434, 5.7070)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B2C #552C8B
analogous
#8B842C #628B2C #328B2C
triadic
#628B2C #2C628B #8B2C62
tetradic
#628B2C #2C8B84 #552C8B #8B2C32
square
#628B2C #2C8B84 #552C8B #8B2C32
split-complementary
#628B2C #2C328B #842C8B
monochromatic
#202E0F #415D1D #628B2C #83B93B #A0CE64

Accessibility & contrast

On white

4.00
#628B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#628B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B2C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B2C#FFFFFF#000000##000000
##628B2C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#658578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b2c;
/* rgb */ color: rgb(98, 139, 44);
/* oklch */ color: oklch(58.7% 0.132 129.8);
Tailwind
colors: {
  custom: {
    50: '#92ad6a',
    500: '#628b2c',
    950: '#000000',
  },
}
SCSS
$custom: #628b2c;
$custom-light: #92ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628b2c",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 85.895,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58656,
    "c": 0.13187,
    "h": 129.8
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#628B2C
secondary
#845FB4
accent
#4CDB8A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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