#628D38#628D38

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

Color values

HEX#628D38
RGBrgb(98, 141, 56)
HSLhsl(90, 43%, 39%)
HSVhsv(90, 60%, 55%)
CMYKcmyk(30.5%, 0%, 60.3%, 44.7%)
CIE-LABlab(53.95, -29.68, 39.85)
CIE-LCHlch(53.95, 49.69, 126.68°)
OKLaboklab(59.29% -0.083 0.093)
OKLCHoklch(59.29% 0.125 131.7)
XYZxyz(15.2755, 21.9315, 7.1690)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D38 #63388D
analogous
#8C8D38 #628D38 #388D38
triadic
#628D38 #38628D #8D3862
tetradic
#628D38 #388C8D #63388D #8D3838
square
#628D38 #388C8D #63388D #8D3838
split-complementary
#628D38 #38388D #8D388C
monochromatic
#253515 #446127 #628D38 #80B74B #9FC977

Accessibility & contrast

On white

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

On black

5.39
#628D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D38
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D38#FFFFFF#000000##000000
##628D381.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832F
Deuteranopia (green-blind)
#8D803E
Tritanopia (blue-blind)
#63877B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d38;
/* rgb */ color: rgb(98, 141, 56);
/* oklch */ color: oklch(59.3% 0.125 131.7);
Tailwind
colors: {
  custom: {
    50: '#91ae72',
    500: '#628d38',
    950: '#000000',
  },
}
SCSS
$custom: #628d38;
$custom-light: #91ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#628d38",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 90.353,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.12465,
    "h": 131.7
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

primary
#628D38
secondary
#916FB2
accent
#55D395
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D38

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

Preview Lab → · Contrast checker → · Palette generator →

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