#628E25#628E25

#628E25 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.141 H 129.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#628E25
RGBrgb(98, 142, 37)
HSLhsl(85, 59%, 35%)
HSVhsv(85, 74%, 56%)
CMYKcmyk(31%, 0%, 73.9%, 44.3%)
CIE-LABlab(54.11, -31.72, 48.23)
CIE-LCHlch(54.11, 57.72, 123.34°)
OKLaboklab(59.37% -0.0902 0.1082)
OKLCHoklch(59.37% 0.141 129.8)
XYZxyz(15.0439, 22.0758, 5.2183)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E25 #51258E
analogous
#8E8525 #628E25 #2D8E25
triadic
#628E25 #25628E #8E2562
tetradic
#628E25 #258E85 #51258E #8E252D
square
#628E25 #258E85 #51258E #8E252D
split-complementary
#628E25 #252D8E #85258E
monochromatic
#1F2D0C #405D18 #628E25 #84BF32 #A1D45A

Accessibility & contrast

On white

3.88
#628E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#628E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E25
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E25#FFFFFF#000000##000000
##628E251.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958312
Deuteranopia (green-blind)
#8F802F
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e25;
/* rgb */ color: rgb(98, 142, 37);
/* oklch */ color: oklch(59.4% 0.141 129.8);
Tailwind
colors: {
  custom: {
    50: '#92af67',
    500: '#628e25',
    950: '#000000',
  },
}
SCSS
$custom: #628e25;
$custom-light: #92af67;
$custom-dark: #000000;
JSON
{
  "hex": "#628e25",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 85.143,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59366,
    "c": 0.14082,
    "h": 129.8
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#628E25
secondary
#7F56B9
accent
#46E287
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E25

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

Preview Lab → · Contrast checker → · Palette generator →

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