#628224#628224

#628224 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.126 H 126.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#628224
RGBrgb(98, 130, 36)
HSLhsl(80, 57%, 33%)
HSVhsv(80, 72%, 51%)
CMYKcmyk(24.6%, 0%, 72.3%, 49%)
CIE-LABlab(50.32, -26.04, 44.83)
CIE-LCHlch(50.32, 51.84, 120.15°)
OKLaboklab(56.29% -0.0747 0.1009)
OKLCHoklch(56.29% 0.126 126.5)
XYZxyz(13.3381, 18.6891, 4.5734)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628224 #442482
analogous
#827324 #628224 #338224
triadic
#628224 #246282 #822462
tetradic
#628224 #248273 #442482 #822433
square
#628224 #248273 #442482 #822433
split-complementary
#628224 #243382 #732482
monochromatic
#1A2209 #3E5217 #628224 #86B231 #A4CF51

Accessibility & contrast

On white

4.43
#628224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#628224 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628224
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628224#FFFFFF#000000##000000
##6282241.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897915
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628224;
/* rgb */ color: rgb(98, 130, 36);
/* oklch */ color: oklch(56.3% 0.126 126.5);
Tailwind
colors: {
  custom: {
    50: '#92a665',
    500: '#628224',
    950: '#000000',
  },
}
SCSS
$custom: #628224;
$custom-light: #92a665;
$custom-dark: #000000;
JSON
{
  "hex": "#628224",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 80.426,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.12554,
    "h": 126.5
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#628224
secondary
#714FB3
accent
#48E07C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628224

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

Preview Lab → · Contrast checker → · Palette generator →

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