#628622#628622

#628622 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.3% C 0.132 H 127.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#628622
RGBrgb(98, 134, 34)
HSLhsl(82, 60%, 33%)
HSVhsv(82, 75%, 53%)
CMYKcmyk(26.9%, 0%, 74.6%, 47.5%)
CIE-LABlab(51.57, -28.12, 46.85)
CIE-LCHlch(51.57, 54.64, 120.97°)
OKLaboklab(57.29% -0.0806 0.1048)
OKLCHoklch(57.29% 0.132 127.6)
XYZxyz(13.8509, 19.7621, 4.5978)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628622 #462286
analogous
#867822 #628622 #308622
triadic
#628622 #226286 #862262
tetradic
#628622 #228678 #462286 #862230
square
#628622 #228678 #462286 #862230
split-complementary
#628622 #223086 #782286
monochromatic
#1B2409 #3E5516 #628622 #86B72E #A3D350

Accessibility & contrast

On white

4.24
#628622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#628622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628622
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628622#FFFFFF#000000##000000
##6286221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#668073
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #628622;
/* rgb */ color: rgb(98, 134, 34);
/* oklch */ color: oklch(57.3% 0.132 127.6);
Tailwind
colors: {
  custom: {
    50: '#92a964',
    500: '#628622',
    950: '#000000',
  },
}
SCSS
$custom: #628622;
$custom-light: #92a964;
$custom-dark: #000000;
JSON
{
  "hex": "#628622",
  "rgb": {
    "r": 98,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 81.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.13221,
    "h": 127.6
  },
  "luminance": 0.19762
}

Semantic roles & 50–950 ramp

primary
#628622
secondary
#734EB6
accent
#45E37E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628622

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

Preview Lab → · Contrast checker → · Palette generator →

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