#628A1D#628A1D

#628A1D is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.140 H 128.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#628A1D
RGBrgb(98, 138, 29)
HSLhsl(82, 65%, 33%)
HSVhsv(82, 79%, 54%)
CMYKcmyk(29%, 0%, 79%, 45.9%)
CIE-LABlab(52.80, -30.32, 49.81)
CIE-LCHlch(52.80, 58.32, 121.33°)
OKLaboklab(58.29% -0.087 0.1102)
OKLCHoklch(58.29% 0.14 128.3)
XYZxyz(14.3473, 20.8620, 4.4330)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A1D #451D8A
analogous
#8A7B1D #628A1D #2C8A1D
triadic
#628A1D #1D628A #8A1D62
tetradic
#628A1D #1D8A7B #451D8A #8A1D2C
square
#628A1D #1D8A7B #451D8A #8A1D2C
split-complementary
#628A1D #1D2C8A #7B1D8A
monochromatic
#1A2508 #3E5712 #628A1D #86BD28 #A4D949

Accessibility & contrast

On white

4.06
#628A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#628A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A1D
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A1D#FFFFFF#000000##000000
##628A1D1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918001
Deuteranopia (green-blind)
#8C7D28
Tritanopia (blue-blind)
#668376
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a1d;
/* rgb */ color: rgb(98, 138, 29);
/* oklch */ color: oklch(58.3% 0.140 128.3);
Tailwind
colors: {
  custom: {
    50: '#92ac63',
    500: '#628a1d',
    950: '#000000',
  },
}
SCSS
$custom: #628a1d;
$custom-light: #92ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#628a1d",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 82.018,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.14039,
    "h": 128.3
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#628A1D
secondary
#7248BB
accent
#40E87D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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