#628D1E#628D1E

#628D1E is a mid, vivid yellow-green. Relative luminance 0.217; OKLCH L 59.1% C 0.144 H 129.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#628D1E
RGBrgb(98, 141, 30)
HSLhsl(83, 65%, 34%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(30.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(53.75, -31.67, 50.38)
CIE-LCHlch(53.75, 59.51, 122.16°)
OKLaboklab(59.06% -0.0906 0.1115)
OKLCHoklch(59.06% 0.144 129.1)
XYZxyz(14.7962, 21.7397, 4.6447)
Luminance0.2174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D1E #491E8D
analogous
#8D801E #628D1E #2B8D1E
triadic
#628D1E #1E628D #8D1E62
tetradic
#628D1E #1E8D80 #491E8D #8D1E2B
square
#628D1E #1E8D80 #491E8D #8D1E2B
split-complementary
#628D1E #1E2B8D #801E8D
monochromatic
#1C2809 #3F5B13 #628D1E #85BF29 #A3D94C

Accessibility & contrast

On white

3.93
#628D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#628D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D1E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D1E#FFFFFF#000000##000000
##628D1E1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948201
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d1e;
/* rgb */ color: rgb(98, 141, 30);
/* oklch */ color: oklch(59.1% 0.144 129.1);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#628d1e',
    950: '#000000',
  },
}
SCSS
$custom: #628d1e;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#628d1e",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 83.243,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.14368,
    "h": 129.1
  },
  "luminance": 0.2174
}

Semantic roles & 50–950 ramp

primary
#628D1E
secondary
#774BBC
accent
#40E881
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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