#628820#628820

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

Color values

HEX#628820
RGBrgb(98, 136, 32)
HSLhsl(82, 62%, 33%)
HSVhsv(82, 76%, 53%)
CMYKcmyk(27.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(52.18, -29.20, 48.19)
CIE-LCHlch(52.18, 56.35, 121.21°)
OKLaboklab(57.79% -0.0837 0.1073)
OKLCHoklch(57.79% 0.136 128)
XYZxyz(14.1019, 20.3090, 4.5433)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628820 #462088
analogous
#887A20 #628820 #2E8820
triadic
#628820 #206288 #882062
tetradic
#628820 #20887A #462088 #88202E
square
#628820 #20887A #462088 #88202E
split-complementary
#628820 #202E88 #7A2088
monochromatic
#1B2509 #3E5614 #628820 #86BA2C #A3D54D

Accessibility & contrast

On white

4.15
#628820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#628820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628820
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628820#FFFFFF#000000##000000
##6288201.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E09
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#668274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628820;
/* rgb */ color: rgb(98, 136, 32);
/* oklch */ color: oklch(57.8% 0.136 128.0);
Tailwind
colors: {
  custom: {
    50: '#92ab64',
    500: '#628820',
    950: '#000000',
  },
}
SCSS
$custom: #628820;
$custom-light: #92ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#628820",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 81.923,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57792,
    "c": 0.13608,
    "h": 128
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#628820
secondary
#734CB8
accent
#43E57E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628820

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

Preview Lab → · Contrast checker → · Palette generator →

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