#628E2C#628E2C

#628E2C is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.136 H 130.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#628E2C
RGBrgb(98, 142, 44)
HSLhsl(87, 53%, 36%)
HSVhsv(87, 69%, 56%)
CMYKcmyk(31%, 0%, 69%, 44.3%)
CIE-LABlab(54.16, -31.22, 45.48)
CIE-LCHlch(54.16, 55.16, 124.47°)
OKLaboklab(59.42% -0.0882 0.1034)
OKLCHoklch(59.42% 0.136 130.5)
XYZxyz(15.1645, 22.1241, 5.8538)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E2C #582C8E
analogous
#8E892C #628E2C #318E2C
triadic
#628E2C #2C628E #8E2C62
tetradic
#628E2C #2C8E89 #582C8E #8E2C31
square
#628E2C #2C8E89 #582C8E #8E2C31
split-complementary
#628E2C #2C318E #892C8E
monochromatic
#22310F #425F1E #628E2C #82BD3A #A0CF65

Accessibility & contrast

On white

3.87
#628E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#628E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E2C
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E2C#FFFFFF#000000##000000
##628E2C1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#94841E
Deuteranopia (green-blind)
#8E8034
Tritanopia (blue-blind)
#64887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e2c;
/* rgb */ color: rgb(98, 142, 44);
/* oklch */ color: oklch(59.4% 0.136 130.5);
Tailwind
colors: {
  custom: {
    50: '#92af6b',
    500: '#628e2c',
    950: '#000000',
  },
}
SCSS
$custom: #628e2c;
$custom-light: #92af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#628e2c",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 86.939,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.13596,
    "h": 130.5
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#628E2C
secondary
#8760B6
accent
#4CDC8D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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