#628C2E#628C2E

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

Color values

HEX#628C2E
RGBrgb(98, 140, 46)
HSLhsl(87, 51%, 36%)
HSVhsv(87, 67%, 55%)
CMYKcmyk(30%, 0%, 67.1%, 45.1%)
CIE-LABlab(53.55, -30.12, 43.98)
CIE-LCHlch(53.55, 53.30, 124.41°)
OKLaboklab(58.93% -0.085 0.1006)
OKLCHoklch(58.93% 0.132 130.2)
XYZxyz(14.9081, 21.5497, 5.9583)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C2E #582E8C
analogous
#8C872E #628C2E #338C2E
triadic
#628C2E #2E628C #8C2E62
tetradic
#628C2E #2E8C87 #582E8C #8C2E33
square
#628C2E #2E8C87 #582E8C #8C2E33
split-complementary
#628C2E #2E338C #872E8C
monochromatic
#223010 #425E1F #628C2E #82BA3D #A0CD67

Accessibility & contrast

On white

3.95
#628C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628C2E#FFFFFF#000000##000000
##628C2E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c2e;
/* rgb */ color: rgb(98, 140, 46);
/* oklch */ color: oklch(58.9% 0.132 130.2);
Tailwind
colors: {
  custom: {
    50: '#92ae6c',
    500: '#628c2e',
    950: '#000000',
  },
}
SCSS
$custom: #628c2e;
$custom-light: #92ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#628c2e",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 86.809,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.13169,
    "h": 130.2
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#628C2E
secondary
#8762B4
accent
#4EDA8C
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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