#628830#628830

#628830 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.124 H 129.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#628830
RGBrgb(98, 136, 48)
HSLhsl(86, 48%, 36%)
HSVhsv(86, 65%, 53%)
CMYKcmyk(27.9%, 0%, 64.7%, 46.7%)
CIE-LABlab(52.31, -28.03, 41.75)
CIE-LCHlch(52.31, 50.29, 123.88°)
OKLaboklab(57.93% -0.0791 0.0961)
OKLCHoklch(57.93% 0.125 129.5)
XYZxyz(14.3746, 20.4180, 5.9795)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628830 #563088
analogous
#888230 #628830 #368830
triadic
#628830 #306288 #883062
tetradic
#628830 #308882 #563088 #883036
square
#628830 #308882 #563088 #883036
split-complementary
#628830 #303688 #823088
monochromatic
#212E10 #415B20 #628830 #83B540 #A0CA69

Accessibility & contrast

On white

4.13
#628830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#628830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628830
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628830#FFFFFF#000000##000000
##6288301.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F25
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#658276
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #628830;
/* rgb */ color: rgb(98, 136, 48);
/* oklch */ color: oklch(57.9% 0.124 129.5);
Tailwind
colors: {
  custom: {
    50: '#91ab6c',
    500: '#628830',
    950: '#000000',
  },
}
SCSS
$custom: #628830;
$custom-light: #91ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#628830",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 85.909,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.5793,
    "c": 0.1245,
    "h": 129.5
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#628830
secondary
#8563B1
accent
#50D78B
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628830

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

Preview Lab → · Contrast checker → · Palette generator →

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