#628D35#628D35

#628D35 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.127 H 131.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#628D35
RGBrgb(98, 141, 53)
HSLhsl(89, 45%, 38%)
HSVhsv(89, 62%, 55%)
CMYKcmyk(30.5%, 0%, 62.4%, 44.7%)
CIE-LABlab(53.92, -29.97, 41.23)
CIE-LCHlch(53.92, 50.98, 126.02°)
OKLaboklab(59.26% -0.084 0.0956)
OKLCHoklch(59.26% 0.127 131.3)
XYZxyz(15.2043, 21.9030, 6.7941)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D35 #60358D
analogous
#8D8C35 #628D35 #368D35
triadic
#628D35 #35628D #8D3562
tetradic
#628D35 #358D8C #60358D #8D3536
square
#628D35 #358D8C #60358D #8D3536
split-complementary
#628D35 #35368D #8C358D
monochromatic
#243414 #436124 #628D35 #81B946 #9FCA72

Accessibility & contrast

On white

3.90
#628D35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#628D35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D35
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D35#FFFFFF#000000##000000
##628D351.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832B
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d35;
/* rgb */ color: rgb(98, 141, 53);
/* oklch */ color: oklch(59.3% 0.127 131.3);
Tailwind
colors: {
  custom: {
    50: '#92ae70',
    500: '#628d35',
    950: '#000000',
  },
}
SCSS
$custom: #628d35;
$custom-light: #92ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#628d35",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 53
  },
  "hsl": {
    "h": 89.318,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59258,
    "c": 0.1273,
    "h": 131.3
  },
  "luminance": 0.21903
}

Semantic roles & 50–950 ramp

primary
#628D35
secondary
#8E6BB2
accent
#53D592
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D35

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

Preview Lab → · Contrast checker → · Palette generator →

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