#628F19#628F19

#628F19 is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.5% C 0.149 H 129.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#628F19
RGBrgb(98, 143, 25)
HSLhsl(83, 70%, 33%)
HSVhsv(83, 83%, 56%)
CMYKcmyk(31.5%, 0%, 82.5%, 43.9%)
CIE-LABlab(54.36, -32.85, 52.50)
CIE-LCHlch(54.36, 61.92, 122.03°)
OKLaboklab(59.55% -0.0941 0.1152)
OKLCHoklch(59.55% 0.149 129.3)
XYZxyz(15.0349, 22.3113, 4.4339)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F19 #46198F
analogous
#8F8119 #628F19 #278F19
triadic
#628F19 #19628F #8F1962
tetradic
#628F19 #198F81 #46198F #8F1927
square
#628F19 #198F81 #46198F #8F1927
split-complementary
#628F19 #19278F #81198F
monochromatic
#1B2707 #3E5B10 #628F19 #86C322 #A4DE44

Accessibility & contrast

On white

3.84
#628F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#628F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F19
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F19#FFFFFF#000000##000000
##628F191.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#65887A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628f19;
/* rgb */ color: rgb(98, 143, 25);
/* oklch */ color: oklch(59.5% 0.149 129.3);
Tailwind
colors: {
  custom: {
    50: '#93b062',
    500: '#628f19',
    950: '#000000',
  },
}
SCSS
$custom: #628f19;
$custom-light: #93b062;
$custom-dark: #000000;
JSON
{
  "hex": "#628f19",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 82.881,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.14874,
    "h": 129.3
  },
  "luminance": 0.22312
}

Semantic roles & 50–950 ramp

primary
#628F19
secondary
#7344BF
accent
#3BED7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F19

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

Preview Lab → · Contrast checker → · Palette generator →

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