#628517#628517

#628517 is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 57.0% C 0.137 H 126.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#628517
RGBrgb(98, 133, 23)
HSLhsl(79, 71%, 31%)
HSVhsv(79, 83%, 52%)
CMYKcmyk(26.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(51.19, -28.23, 50.22)
CIE-LCHlch(51.19, 57.61, 119.34°)
OKLaboklab(56.97% -0.0818 0.11)
OKLCHoklch(56.97% 0.137 126.6)
XYZxyz(13.5793, 19.4333, 3.8460)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628517 #3A1785
analogous
#857117 #628517 #2B8517
triadic
#628517 #176285 #851762
tetradic
#628517 #178571 #3A1785 #85172B
square
#628517 #178571 #3A1785 #85172B
split-complementary
#628517 #172B85 #711785
monochromatic
#151D05 #3C510E #628517 #88B920 #A9DD3A

Accessibility & contrast

On white

4.30
#628517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#628517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628517
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628517#FFFFFF#000000##000000
##6285171.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#667E71
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #628517;
/* rgb */ color: rgb(98, 133, 23);
/* oklch */ color: oklch(57.0% 0.137 126.6);
Tailwind
colors: {
  custom: {
    50: '#92a85f',
    500: '#628517',
    950: '#000000',
  },
}
SCSS
$custom: #628517;
$custom-light: #92a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#628517",
  "rgb": {
    "r": 98,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 79.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.13709,
    "h": 126.6
  },
  "luminance": 0.19434
}

Semantic roles & 50–950 ramp

primary
#628517
secondary
#663FB9
accent
#3BED73
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628517

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

Preview Lab → · Contrast checker → · Palette generator →

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