#628E1D#628E1D

#628E1D is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.3% C 0.145 H 129.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#628E1D
RGBrgb(98, 142, 29)
HSLhsl(83, 66%, 34%)
HSVhsv(83, 80%, 56%)
CMYKcmyk(31%, 0%, 79.6%, 44.3%)
CIE-LABlab(54.06, -32.19, 51.00)
CIE-LCHlch(54.06, 60.31, 122.26°)
OKLaboklab(59.31% -0.0921 0.1127)
OKLCHoklch(59.31% 0.146 129.3)
XYZxyz(14.9317, 22.0309, 4.6278)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E1D #491D8E
analogous
#8E811D #628E1D #298E1D
triadic
#628E1D #1D628E #8E1D62
tetradic
#628E1D #1D8E81 #491D8E #8E1D29
square
#628E1D #1D8E81 #491D8E #8E1D29
split-complementary
#628E1D #1D298E #811D8E
monochromatic
#1C2808 #3F5B13 #628E1D #85C127 #A3DA4B

Accessibility & contrast

On white

3.88
#628E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#628E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E1D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E1D#FFFFFF#000000##000000
##628E1D1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#658779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628e1d;
/* rgb */ color: rgb(98, 142, 29);
/* oklch */ color: oklch(59.3% 0.145 129.3);
Tailwind
colors: {
  custom: {
    50: '#93af63',
    500: '#628e1d',
    950: '#000000',
  },
}
SCSS
$custom: #628e1d;
$custom-light: #93af63;
$custom-dark: #000000;
JSON
{
  "hex": "#628e1d",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 83.363,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.1455,
    "h": 129.3
  },
  "luminance": 0.22031
}

Semantic roles & 50–950 ramp

primary
#628E1D
secondary
#774ABD
accent
#3FE981
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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