#628D1D#628D1D

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

Color values

HEX#628D1D
RGBrgb(98, 141, 29)
HSLhsl(83, 66%, 33%)
HSVhsv(83, 79%, 55%)
CMYKcmyk(30.5%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.74, -31.73, 50.70)
CIE-LCHlch(53.74, 59.81, 122.04°)
OKLaboklab(59.06% -0.0908 0.112)
OKLCHoklch(59.06% 0.144 129)
XYZxyz(14.7836, 21.7347, 4.5785)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D1D #481D8D
analogous
#8D801D #628D1D #2A8D1D
triadic
#628D1D #1D628D #8D1D62
tetradic
#628D1D #1D8D80 #481D8D #8D1D2A
square
#628D1D #1D8D80 #481D8D #8D1D2A
split-complementary
#628D1D #1D2A8D #801D8D
monochromatic
#1B2708 #3F5A13 #628D1D #85C027 #A3DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D1D#FFFFFF#000000##000000
##628D1D1.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)
#948200
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d1d;
/* rgb */ color: rgb(98, 141, 29);
/* oklch */ color: oklch(59.1% 0.144 129.0);
Tailwind
colors: {
  custom: {
    50: '#93ae63',
    500: '#628d1d',
    950: '#000000',
  },
}
SCSS
$custom: #628d1d;
$custom-light: #93ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#628d1d",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 83.036,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.14423,
    "h": 129
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#628D1D
secondary
#764ABC
accent
#3FE980
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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