#628819#628819

#628819 is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.140 H 127.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#628819
RGBrgb(98, 136, 25)
HSLhsl(81, 69%, 32%)
HSVhsv(81, 82%, 53%)
CMYKcmyk(27.9%, 0%, 81.6%, 46.7%)
CIE-LABlab(52.15, -29.57, 50.49)
CIE-LCHlch(52.15, 58.51, 120.36°)
OKLaboklab(57.75% -0.0853 0.1109)
OKLCHoklch(57.75% 0.14 127.5)
XYZxyz(14.0167, 20.2749, 4.0945)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628819 #3F1988
analogous
#887719 #628819 #2A8819
triadic
#628819 #196288 #881962
tetradic
#628819 #198877 #3F1988 #88192A
square
#628819 #198877 #3F1988 #88192A
split-complementary
#628819 #192A88 #771988
monochromatic
#172106 #3D540F #628819 #87BC23 #A6DC40

Accessibility & contrast

On white

4.15
#628819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#628819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628819
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628819#FFFFFF#000000##000000
##6288191.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#668174
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #628819;
/* rgb */ color: rgb(98, 136, 25);
/* oklch */ color: oklch(57.7% 0.140 127.5);
Tailwind
colors: {
  custom: {
    50: '#93ab61',
    500: '#628819',
    950: '#000000',
  },
}
SCSS
$custom: #628819;
$custom-light: #93ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#628819",
  "rgb": {
    "r": 98,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 80.541,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.13992,
    "h": 127.5
  },
  "luminance": 0.20275
}

Semantic roles & 50–950 ramp

primary
#628819
secondary
#6B41BB
accent
#3CEC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #628819

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

Preview Lab → · Contrast checker → · Palette generator →

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