#628225#628225

#628225 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.125 H 126.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#628225
RGBrgb(98, 130, 37)
HSLhsl(81, 56%, 33%)
HSVhsv(81, 72%, 51%)
CMYKcmyk(24.6%, 0%, 71.5%, 49%)
CIE-LABlab(50.33, -25.97, 44.43)
CIE-LCHlch(50.33, 51.46, 120.31°)
OKLaboklab(56.3% -0.0745 0.1002)
OKLCHoklch(56.3% 0.125 126.6)
XYZxyz(13.3536, 18.6953, 4.6549)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628225 #452582
analogous
#827325 #628225 #338225
triadic
#628225 #256282 #822562
tetradic
#628225 #258273 #452582 #822533
square
#628225 #258273 #452582 #822533
split-complementary
#628225 #253382 #732582
monochromatic
#1A230A #3E5217 #628225 #86B233 #A4CE53

Accessibility & contrast

On white

4.43
#628225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628225
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628225#FFFFFF#000000##000000
##6282251.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897916
Deuteranopia (green-blind)
#85772D
Tritanopia (blue-blind)
#667C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628225;
/* rgb */ color: rgb(98, 130, 37);
/* oklch */ color: oklch(56.3% 0.125 126.6);
Tailwind
colors: {
  custom: {
    50: '#92a666',
    500: '#628225',
    950: '#000000',
  },
}
SCSS
$custom: #628225;
$custom-light: #92a666;
$custom-dark: #000000;
JSON
{
  "hex": "#628225",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 80.645,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56297,
    "c": 0.12483,
    "h": 126.6
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#628225
secondary
#7250B2
accent
#49DF7C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628225

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

Preview Lab → · Contrast checker → · Palette generator →

#628225 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva