#628825#628825

#628825 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.8% C 0.133 H 128.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#628825
RGBrgb(98, 136, 37)
HSLhsl(83, 57%, 34%)
HSVhsv(83, 73%, 53%)
CMYKcmyk(27.9%, 0%, 72.8%, 46.7%)
CIE-LABlab(52.22, -28.89, 46.34)
CIE-LCHlch(52.22, 54.60, 121.94°)
OKLaboklab(57.83% -0.0824 0.1042)
OKLCHoklch(57.83% 0.133 128.4)
XYZxyz(14.1751, 20.3382, 4.9287)
Luminance0.2034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628825 #4B2588
analogous
#887D25 #628825 #318825
triadic
#628825 #256288 #882562
tetradic
#628825 #25887D #4B2588 #882531
square
#628825 #25887D #4B2588 #882531
split-complementary
#628825 #253188 #7D2588
monochromatic
#1D280B #3F5818 #628825 #85B832 #A2D156

Accessibility & contrast

On white

4.14
#628825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#628825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628825
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628825#FFFFFF#000000##000000
##6288251.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E14
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#658275
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628825;
/* rgb */ color: rgb(98, 136, 37);
/* oklch */ color: oklch(57.8% 0.133 128.4);
Tailwind
colors: {
  custom: {
    50: '#92ab66',
    500: '#628825',
    950: '#000000',
  },
}
SCSS
$custom: #628825;
$custom-light: #92ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#628825",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 83.03,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.13287,
    "h": 128.4
  },
  "luminance": 0.20339
}

Semantic roles & 50–950 ramp

primary
#628825
secondary
#7953B6
accent
#47E082
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628825

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

Preview Lab → · Contrast checker → · Palette generator →

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