#628D36#628D36

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

Color values

HEX#628D36
RGBrgb(98, 141, 54)
HSLhsl(90, 45%, 38%)
HSVhsv(90, 62%, 55%)
CMYKcmyk(30.5%, 0%, 61.7%, 44.7%)
CIE-LABlab(53.93, -29.88, 40.78)
CIE-LCHlch(53.93, 50.55, 126.23°)
OKLaboklab(59.27% -0.0837 0.0948)
OKLCHoklch(59.27% 0.126 131.4)
XYZxyz(15.2276, 21.9123, 6.9165)
Luminance0.2191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D36 #61368D
analogous
#8D8C36 #628D36 #378D36
triadic
#628D36 #36628D #8D3662
tetradic
#628D36 #368D8C #61368D #8D3637
square
#628D36 #368D8C #61368D #8D3637
split-complementary
#628D36 #36378D #8C368D
monochromatic
#243414 #436125 #628D36 #81B947 #9FCA74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D36#FFFFFF#000000##000000
##628D361.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)
#93832C
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d36;
/* rgb */ color: rgb(98, 141, 54);
/* oklch */ color: oklch(59.3% 0.126 131.4);
Tailwind
colors: {
  custom: {
    50: '#91ae71',
    500: '#628d36',
    950: '#000000',
  },
}
SCSS
$custom: #628d36;
$custom-light: #91ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#628d36",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 89.655,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.12643,
    "h": 131.4
  },
  "luminance": 0.21913
}

Semantic roles & 50–950 ramp

primary
#628D36
secondary
#8F6DB2
accent
#53D493
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D36

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

Preview Lab → · Contrast checker → · Palette generator →

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