#628D10#628D10

#628D10 is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.0% C 0.150 H 128.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#628D10
RGBrgb(98, 141, 16)
HSLhsl(81, 80%, 31%)
HSVhsv(81, 89%, 55%)
CMYKcmyk(30.5%, 0%, 88.7%, 44.7%)
CIE-LABlab(53.69, -32.27, 54.21)
CIE-LCHlch(53.69, 63.09, 120.76°)
OKLaboklab(58.99% -0.0931 0.1174)
OKLCHoklch(58.99% 0.15 128.4)
XYZxyz(14.6554, 21.6834, 3.9033)
Luminance0.2168 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D10 #3B108D
analogous
#8D7910 #628D10 #238D10
triadic
#628D10 #10628D #8D1062
tetradic
#628D10 #108D79 #3B108D #8D1023
square
#628D10 #108D79 #3B108D #8D1023
split-complementary
#628D10 #10238D #79108D
monochromatic
#161F04 #3C560A #628D10 #88C416 #A8E730

Accessibility & contrast

On white

3.93
#628D10 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#628D10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D10
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D10#FFFFFF#000000##000000
##628D101.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8F7F21
Tritanopia (blue-blind)
#668678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d10;
/* rgb */ color: rgb(98, 141, 16);
/* oklch */ color: oklch(59.0% 0.150 128.4);
Tailwind
colors: {
  custom: {
    50: '#93ae5e',
    500: '#628d10',
    950: '#000000',
  },
}
SCSS
$custom: #628d10;
$custom-light: #93ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#628d10",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 16
  },
  "hsl": {
    "h": 80.64,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58993,
    "c": 0.14984,
    "h": 128.4
  },
  "luminance": 0.21684
}

Semantic roles & 50–950 ramp

primary
#628D10
secondary
#6737C2
accent
#32F675
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E1005
muted
#7E7F79

Preview Lab

Preview with #628D10

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

Preview Lab → · Contrast checker → · Palette generator →

#628D10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva