#628D1B#628D1B

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

Color values

HEX#628D1B
RGBrgb(98, 141, 27)
HSLhsl(83, 68%, 33%)
HSVhsv(83, 81%, 55%)
CMYKcmyk(30.5%, 0%, 80.9%, 44.7%)
CIE-LABlab(53.73, -31.83, 51.33)
CIE-LCHlch(53.73, 60.39, 121.80°)
OKLaboklab(59.04% -0.0912 0.113)
OKLCHoklch(59.04% 0.145 128.9)
XYZxyz(14.7597, 21.7251, 4.4524)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D1B #461B8D
analogous
#8D7F1B #628D1B #298D1B
triadic
#628D1B #1B628D #8D1B62
tetradic
#628D1B #1B8D7F #461B8D #8D1B29
square
#628D1B #1B8D7F #461B8D #8D1B29
split-complementary
#628D1B #1B298D #7F1B8D
monochromatic
#1B2607 #3E5A11 #628D1B #86C025 #A3DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628D1B#FFFFFF#000000##000000
##628D1B1.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)
#8E7F27
Tritanopia (blue-blind)
#658678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628d1b;
/* rgb */ color: rgb(98, 141, 27);
/* oklch */ color: oklch(59.0% 0.145 128.9);
Tailwind
colors: {
  custom: {
    50: '#93ae62',
    500: '#628d1b',
    950: '#000000',
  },
}
SCSS
$custom: #628d1b;
$custom-light: #93ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#628d1b",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 82.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59043,
    "c": 0.14526,
    "h": 128.9
  },
  "luminance": 0.21726
}

Semantic roles & 50–950 ramp

primary
#628D1B
secondary
#7346BD
accent
#3DEB7F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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