#628013#628013

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

Color values

HEX#628013
RGBrgb(98, 128, 19)
HSLhsl(77, 74%, 29%)
HSVhsv(77, 85%, 50%)
CMYKcmyk(23.4%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.60, -25.96, 49.94)
CIE-LCHlch(49.60, 56.29, 117.46°)
OKLaboklab(55.67% -0.0759 0.1088)
OKLCHoklch(55.67% 0.133 124.9)
XYZxyz(12.8738, 18.0819, 3.4279)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628013 #311380
analogous
#806813 #628013 #2C8013
triadic
#628013 #136280 #801362
tetradic
#628013 #138068 #311380 #80132C
square
#628013 #138068 #311380 #80132C
split-complementary
#628013 #132C80 #681380
monochromatic
#141B04 #394B0B #628013 #8BB51B #AFE02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628013#FFFFFF#000000##000000
##6280131.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)
#847620
Tritanopia (blue-blind)
#67796D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #628013;
/* rgb */ color: rgb(98, 128, 19);
/* oklch */ color: oklch(55.7% 0.133 124.9);
Tailwind
colors: {
  custom: {
    50: '#92a55d',
    500: '#628013',
    950: '#000000',
  },
}
SCSS
$custom: #628013;
$custom-light: #92a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#628013",
  "rgb": {
    "r": 98,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 76.514,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.13261,
    "h": 124.9
  },
  "luminance": 0.18082
}

Semantic roles & 50–950 ramp

primary
#628013
secondary
#5C39B5
accent
#37F16A
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #628013

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

Preview Lab → · Contrast checker → · Palette generator →

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