#628A32#628A32

#628A32 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.126 H 130.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#628A32
RGBrgb(98, 138, 50)
HSLhsl(87, 47%, 37%)
HSVhsv(87, 64%, 54%)
CMYKcmyk(29%, 0%, 63.8%, 45.9%)
CIE-LABlab(52.95, -28.82, 41.54)
CIE-LCHlch(52.95, 50.56, 124.75°)
OKLaboklab(58.46% -0.0811 0.0959)
OKLCHoklch(58.46% 0.126 130.2)
XYZxyz(14.7011, 21.0035, 6.2965)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A32 #5A328A
analogous
#8A8632 #628A32 #368A32
triadic
#628A32 #32628A #8A3262
tetradic
#628A32 #328A86 #5A328A #8A3236
square
#628A32 #328A86 #5A328A #8A3236
split-complementary
#628A32 #32368A #86328A
monochromatic
#223011 #425D22 #628A32 #82B742 #9FCA6C

Accessibility & contrast

On white

4.04
#628A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#628A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A32
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A32#FFFFFF#000000##000000
##628A321.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#8B7D39
Tritanopia (blue-blind)
#648477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a32;
/* rgb */ color: rgb(98, 138, 50);
/* oklch */ color: oklch(58.5% 0.126 130.2);
Tailwind
colors: {
  custom: {
    50: '#91ac6e',
    500: '#628a32',
    950: '#000000',
  },
}
SCSS
$custom: #628a32;
$custom-light: #91ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#628a32",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 87.273,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.12563,
    "h": 130.2
  },
  "luminance": 0.21004
}

Semantic roles & 50–950 ramp

primary
#628A32
secondary
#8866B2
accent
#51D68E
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A32

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

Preview Lab → · Contrast checker → · Palette generator →

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