#628F33#628F33

#628F33 is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.132 H 131.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#628F33
RGBrgb(98, 143, 51)
HSLhsl(89, 47%, 38%)
HSVhsv(89, 64%, 56%)
CMYKcmyk(31.5%, 0%, 64.3%, 43.9%)
CIE-LABlab(54.53, -31.10, 42.82)
CIE-LCHlch(54.53, 52.93, 125.99°)
OKLaboklab(59.75% -0.0873 0.0988)
OKLCHoklch(59.75% 0.132 131.5)
XYZxyz(15.4568, 22.4801, 6.6560)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F33 #60338F
analogous
#8F8E33 #628F33 #348F33
triadic
#628F33 #33628F #8F3362
tetradic
#628F33 #338F8E #60338F #8F3334
square
#628F33 #338F8E #60338F #8F3334
split-complementary
#628F33 #33348F #8E338F
monochromatic
#243513 #436223 #628F33 #81BC43 #9FCC70

Accessibility & contrast

On white

3.82
#628F33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#628F33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F33
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F33#FFFFFF#000000##000000
##628F331.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958528
Deuteranopia (green-blind)
#8F813A
Tritanopia (blue-blind)
#64897C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f33;
/* rgb */ color: rgb(98, 143, 51);
/* oklch */ color: oklch(59.7% 0.132 131.5);
Tailwind
colors: {
  custom: {
    50: '#92b06f',
    500: '#628f33',
    950: '#000000',
  },
}
SCSS
$custom: #628f33;
$custom-light: #92b06f;
$custom-dark: #000000;
JSON
{
  "hex": "#628f33",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 51
  },
  "hsl": {
    "h": 89.348,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.13182,
    "h": 131.5
  },
  "luminance": 0.22481
}

Semantic roles & 50–950 ramp

primary
#628F33
secondary
#8E6AB4
accent
#51D792
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F33

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

Preview Lab → · Contrast checker → · Palette generator →

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