#628227#628227

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

Color values

HEX#628227
RGBrgb(98, 130, 39)
HSLhsl(81, 54%, 33%)
HSVhsv(81, 70%, 51%)
CMYKcmyk(24.6%, 0%, 70%, 49%)
CIE-LABlab(50.34, -25.83, 43.61)
CIE-LCHlch(50.34, 50.69, 120.63°)
OKLaboklab(56.31% -0.0739 0.0988)
OKLCHoklch(56.31% 0.123 126.8)
XYZxyz(13.3859, 18.7082, 4.8249)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628227 #472782
analogous
#827427 #628227 #348227
triadic
#628227 #276282 #822762
tetradic
#628227 #278274 #472782 #822734
square
#628227 #278274 #472782 #822734
split-complementary
#628227 #273482 #742782
monochromatic
#1B240B #3F5319 #628227 #85B135 #A3CD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628227#FFFFFF#000000##000000
##6282271.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)
#89791A
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#667C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628227;
/* rgb */ color: rgb(98, 130, 39);
/* oklch */ color: oklch(56.3% 0.123 126.8);
Tailwind
colors: {
  custom: {
    50: '#91a667',
    500: '#628227',
    950: '#000000',
  },
}
SCSS
$custom: #628227;
$custom-light: #91a667;
$custom-dark: #000000;
JSON
{
  "hex": "#628227",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 81.099,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.12336,
    "h": 126.8
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

primary
#628227
secondary
#7453B1
accent
#4BDD7E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #628227

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

Preview Lab → · Contrast checker → · Palette generator →

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