#628223#628223

#628223 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#628223
RGBrgb(98, 130, 35)
HSLhsl(80, 58%, 32%)
HSVhsv(80, 73%, 51%)
CMYKcmyk(24.6%, 0%, 73.1%, 49%)
CIE-LABlab(50.31, -26.11, 45.22)
CIE-LCHlch(50.31, 52.21, 120.00°)
OKLaboklab(56.28% -0.075 0.1015)
OKLCHoklch(56.28% 0.126 126.5)
XYZxyz(13.3231, 18.6831, 4.4941)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628223 #432382
analogous
#827323 #628223 #328223
triadic
#628223 #236282 #822362
tetradic
#628223 #238273 #432382 #822332
square
#628223 #238273 #432382 #822332
split-complementary
#628223 #233282 #732382
monochromatic
#192209 #3E5216 #628223 #86B230 #A5D050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628223#FFFFFF#000000##000000
##6282231.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)
#897913
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#667C6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628223;
/* rgb */ color: rgb(98, 130, 35);
/* oklch */ color: oklch(56.3% 0.126 126.5);
Tailwind
colors: {
  custom: {
    50: '#92a664',
    500: '#628223',
    950: '#000000',
  },
}
SCSS
$custom: #628223;
$custom-light: #92a664;
$custom-dark: #000000;
JSON
{
  "hex": "#628223",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 80.211,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.12623,
    "h": 126.5
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#628223
secondary
#704DB3
accent
#47E17B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628223

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

Preview Lab → · Contrast checker → · Palette generator →

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