#628017#628017

#628017 is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.7% C 0.131 H 125.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#628017
RGBrgb(98, 128, 23)
HSLhsl(77, 70%, 30%)
HSVhsv(77, 82%, 50%)
CMYKcmyk(23.4%, 0%, 82%, 49.8%)
CIE-LABlab(49.61, -25.79, 48.80)
CIE-LCHlch(49.61, 55.19, 117.86°)
OKLaboklab(55.69% -0.0751 0.107)
OKLCHoklch(55.69% 0.131 125.1)
XYZxyz(12.9109, 18.0967, 3.6233)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628017 #351780
analogous
#806A17 #628017 #2E8017
triadic
#628017 #176280 #801762
tetradic
#628017 #17806A #351780 #80172E
square
#628017 #17806A #351780 #80172E
split-complementary
#628017 #172E80 #6A1780
monochromatic
#141A05 #3A4C0E #628017 #8AB420 #ACDB36

Accessibility & contrast

On white

4.55
#628017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#628017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628017
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628017#FFFFFF#000000##000000
##6280171.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837622
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628017;
/* rgb */ color: rgb(98, 128, 23);
/* oklch */ color: oklch(55.7% 0.131 125.1);
Tailwind
colors: {
  custom: {
    50: '#92a55e',
    500: '#628017',
    950: '#000000',
  },
}
SCSS
$custom: #628017;
$custom-light: #92a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#628017",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 77.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.13076,
    "h": 125.1
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#628017
secondary
#603EB4
accent
#3BEC6E
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628017

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

Preview Lab → · Contrast checker → · Palette generator →

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