#628F32#628F32

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

Color values

HEX#628F32
RGBrgb(98, 143, 50)
HSLhsl(89, 48%, 38%)
HSVhsv(89, 65%, 56%)
CMYKcmyk(31.5%, 0%, 65%, 43.9%)
CIE-LABlab(54.52, -31.19, 43.26)
CIE-LCHlch(54.52, 53.33, 125.79°)
OKLaboklab(59.74% -0.0876 0.0996)
OKLCHoklch(59.74% 0.133 131.3)
XYZxyz(15.4350, 22.4714, 6.5412)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F32 #5F328F
analogous
#8F8D32 #628F32 #338F32
triadic
#628F32 #32628F #8F3262
tetradic
#628F32 #328F8D #5F328F #8F3233
square
#628F32 #328F8D #5F328F #8F3233
split-complementary
#628F32 #32338F #8D328F
monochromatic
#243412 #436222 #628F32 #81BC42 #9FCD6F

Accessibility & contrast

On white

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

On black

5.49
#628F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F32
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F32#FFFFFF#000000##000000
##628F321.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628f32;
/* rgb */ color: rgb(98, 143, 50);
/* oklch */ color: oklch(59.7% 0.133 131.3);
Tailwind
colors: {
  custom: {
    50: '#92b06e',
    500: '#628f32',
    950: '#000000',
  },
}
SCSS
$custom: #628f32;
$custom-light: #92b06e;
$custom-dark: #000000;
JSON
{
  "hex": "#628f32",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 89.032,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.13265,
    "h": 131.3
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#628F32
secondary
#8D68B4
accent
#50D892
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628F32

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

Preview Lab → · Contrast checker → · Palette generator →

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