#628D2E#628D2E

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

Color values

HEX#628D2E
RGBrgb(98, 141, 46)
HSLhsl(87, 51%, 37%)
HSVhsv(87, 67%, 55%)
CMYKcmyk(30.5%, 0%, 67.4%, 44.7%)
CIE-LABlab(53.86, -30.59, 44.31)
CIE-LCHlch(53.86, 53.84, 124.62°)
OKLaboklab(59.19% -0.0863 0.1013)
OKLCHoklch(59.19% 0.133 130.4)
XYZxyz(15.0549, 21.8432, 6.0072)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D2E #592E8D
analogous
#8D892E #628D2E #338D2E
triadic
#628D2E #2E628D #8D2E62
tetradic
#628D2E #2E8D89 #592E8D #8D2E33
square
#628D2E #2E8D89 #592E8D #8D2E33
split-complementary
#628D2E #2E338D #892E8D
monochromatic
#223110 #425F1F #628D2E #82BB3D #A0CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D2E#FFFFFF#000000##000000
##628D2E1.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)
#938321
Deuteranopia (green-blind)
#8D8036
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d2e;
/* rgb */ color: rgb(98, 141, 46);
/* oklch */ color: oklch(59.2% 0.133 130.4);
Tailwind
colors: {
  custom: {
    50: '#92ae6c',
    500: '#628d2e',
    950: '#000000',
  },
}
SCSS
$custom: #628d2e;
$custom-light: #92ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#628d2e",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 87.158,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.13307,
    "h": 130.4
  },
  "luminance": 0.21844
}

Semantic roles & 50–950 ramp

primary
#628D2E
secondary
#8862B5
accent
#4EDA8D
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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