#628417#628417

#628417 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.7% C 0.136 H 126.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#628417
RGBrgb(98, 132, 23)
HSLhsl(79, 70%, 30%)
HSVhsv(79, 83%, 52%)
CMYKcmyk(25.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(50.87, -27.74, 49.94)
CIE-LCHlch(50.87, 57.13, 119.06°)
OKLaboklab(56.71% -0.0805 0.1094)
OKLCHoklch(56.71% 0.136 126.3)
XYZxyz(13.4430, 19.1608, 3.8006)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628417 #391784
analogous
#847017 #628417 #2B8417
triadic
#628417 #176284 #841762
tetradic
#628417 #178470 #391784 #84172B
square
#628417 #178470 #391784 #84172B
split-complementary
#628417 #172B84 #701784
monochromatic
#151C05 #3B500E #628417 #89B820 #A9DC39

Accessibility & contrast

On white

4.35
#628417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#628417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628417
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628417#FFFFFF#000000##000000
##6284171.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#667D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628417;
/* rgb */ color: rgb(98, 132, 23);
/* oklch */ color: oklch(56.7% 0.136 126.3);
Tailwind
colors: {
  custom: {
    50: '#92a85f',
    500: '#628417',
    950: '#000000',
  },
}
SCSS
$custom: #628417;
$custom-light: #92a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#628417",
  "rgb": {
    "r": 98,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 78.716,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56713,
    "c": 0.13583,
    "h": 126.3
  },
  "luminance": 0.19161
}

Semantic roles & 50–950 ramp

primary
#628417
secondary
#653FB8
accent
#3BED72
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628417

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

Preview Lab → · Contrast checker → · Palette generator →

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