#628B32#628B32

#628B32 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.127 H 130.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#628B32
RGBrgb(98, 139, 50)
HSLhsl(88, 47%, 37%)
HSVhsv(88, 64%, 55%)
CMYKcmyk(29.5%, 0%, 64%, 45.5%)
CIE-LABlab(53.27, -29.30, 41.89)
CIE-LCHlch(53.27, 51.12, 124.97°)
OKLaboklab(58.72% -0.0824 0.0967)
OKLCHoklch(58.72% 0.127 130.5)
XYZxyz(14.8452, 21.2918, 6.3446)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B32 #5B328B
analogous
#8B8832 #628B32 #368B32
triadic
#628B32 #32628B #8B3262
tetradic
#628B32 #328B88 #5B328B #8B3236
square
#628B32 #328B88 #5B328B #8B3236
split-complementary
#628B32 #32368B #88328B
monochromatic
#233112 #425E22 #628B32 #82B842 #9FCA6D

Accessibility & contrast

On white

3.99
#628B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#628B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B32
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B32#FFFFFF#000000##000000
##628B321.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#648578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b32;
/* rgb */ color: rgb(98, 139, 50);
/* oklch */ color: oklch(58.7% 0.127 130.5);
Tailwind
colors: {
  custom: {
    50: '#92ad6e',
    500: '#628b32',
    950: '#000000',
  },
}
SCSS
$custom: #628b32;
$custom-light: #92ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628b32",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 87.64,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.12704,
    "h": 130.5
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#628B32
secondary
#8967B2
accent
#51D78F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628B32

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

Preview Lab → · Contrast checker → · Palette generator →

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