#628F1D#628F1D

#628F1D is a mid, vivid yellow-green. Relative luminance 0.223; OKLCH L 59.6% C 0.147 H 129.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#628F1D
RGBrgb(98, 143, 29)
HSLhsl(84, 66%, 34%)
HSVhsv(84, 80%, 56%)
CMYKcmyk(31.5%, 0%, 79.7%, 43.9%)
CIE-LABlab(54.38, -32.65, 51.29)
CIE-LCHlch(54.38, 60.80, 122.48°)
OKLaboklab(59.57% -0.0933 0.1133)
OKLCHoklch(59.57% 0.147 129.5)
XYZxyz(15.0812, 22.3298, 4.6777)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F1D #4A1D8F
analogous
#8F831D #628F1D #298F1D
triadic
#628F1D #1D628F #8F1D62
tetradic
#628F1D #1D8F83 #4A1D8F #8F1D29
square
#628F1D #1D8F83 #4A1D8F #8F1D29
split-complementary
#628F1D #1D298F #831D8F
monochromatic
#1C2908 #3F5C13 #628F1D #85C227 #A2DB4C

Accessibility & contrast

On white

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

On black

5.47
#628F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F1D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F1D#FFFFFF#000000##000000
##628F1D1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628f1d;
/* rgb */ color: rgb(98, 143, 29);
/* oklch */ color: oklch(59.6% 0.147 129.5);
Tailwind
colors: {
  custom: {
    50: '#93b063',
    500: '#628f1d',
    950: '#000000',
  },
}
SCSS
$custom: #628f1d;
$custom-light: #93b063;
$custom-dark: #000000;
JSON
{
  "hex": "#628f1d",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 83.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.14677,
    "h": 129.5
  },
  "luminance": 0.2233
}

Semantic roles & 50–950 ramp

primary
#628F1D
secondary
#784BBD
accent
#3FE982
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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