#628011#628011

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

Color values

HEX#628011
RGBrgb(98, 128, 17)
HSLhsl(76, 77%, 28%)
HSVhsv(76, 87%, 50%)
CMYKcmyk(23.4%, 0%, 86.7%, 49.8%)
CIE-LABlab(49.59, -26.03, 50.46)
CIE-LCHlch(49.59, 56.78, 117.29°)
OKLaboklab(55.66% -0.0762 0.1095)
OKLCHoklch(55.66% 0.133 124.8)
XYZxyz(12.8575, 18.0753, 3.3417)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628011 #2F1180
analogous
#806611 #628011 #2A8011
triadic
#628011 #116280 #801162
tetradic
#628011 #118066 #2F1180 #80112A
square
#628011 #118066 #2F1180 #80112A
split-complementary
#628011 #112A80 #661180
monochromatic
#151B04 #394A0A #628011 #8BB618 #B0E329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628011#FFFFFF#000000##000000
##6280111.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)
#887700
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628011;
/* rgb */ color: rgb(98, 128, 17);
/* oklch */ color: oklch(55.7% 0.133 124.8);
Tailwind
colors: {
  custom: {
    50: '#92a55c',
    500: '#628011',
    950: '#000000',
  },
}
SCSS
$custom: #628011;
$custom-light: #92a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#628011",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 76.216,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55661,
    "c": 0.13344,
    "h": 124.8
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

primary
#628011
secondary
#5937B6
accent
#35F368
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628011

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

Preview Lab → · Contrast checker → · Palette generator →

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