#628B1E#628B1E

#628B1E is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.5% C 0.141 H 128.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#628B1E
RGBrgb(98, 139, 30)
HSLhsl(83, 64%, 33%)
HSVhsv(83, 78%, 55%)
CMYKcmyk(29.5%, 0%, 78.4%, 45.5%)
CIE-LABlab(53.12, -30.74, 49.78)
CIE-LCHlch(53.12, 58.51, 121.69°)
OKLaboklab(58.55% -0.0881 0.1103)
OKLCHoklch(58.55% 0.141 128.6)
XYZxyz(14.5040, 21.1553, 4.5473)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B1E #471E8B
analogous
#8B7D1E #628B1E #2B8B1E
triadic
#628B1E #1E628B #8B1E62
tetradic
#628B1E #1E8B7D #471E8B #8B1E2B
square
#628B1E #1E8B7D #471E8B #8B1E2B
split-complementary
#628B1E #1E2B8B #7D1E8B
monochromatic
#1B2608 #3F5913 #628B1E #85BD29 #A3D84B

Accessibility & contrast

On white

4.01
#628B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#628B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B1E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B1E#FFFFFF#000000##000000
##628B1E1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928103
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#658577
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b1e;
/* rgb */ color: rgb(98, 139, 30);
/* oklch */ color: oklch(58.5% 0.141 128.6);
Tailwind
colors: {
  custom: {
    50: '#93ad63',
    500: '#628b1e',
    950: '#000000',
  },
}
SCSS
$custom: #628b1e;
$custom-light: #93ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#628b1e",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 82.569,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58548,
    "c": 0.14112,
    "h": 128.6
  },
  "luminance": 0.21156
}

Semantic roles & 50–950 ramp

primary
#628B1E
secondary
#744ABB
accent
#40E77F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #628B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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