#628B35#628B35

#628B35 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.7% C 0.124 H 130.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#628B35
RGBrgb(98, 139, 53)
HSLhsl(89, 45%, 38%)
HSVhsv(89, 62%, 55%)
CMYKcmyk(29.5%, 0%, 61.9%, 45.5%)
CIE-LABlab(53.30, -29.02, 40.53)
CIE-LCHlch(53.30, 49.85, 125.60°)
OKLaboklab(58.75% -0.0814 0.0941)
OKLCHoklch(58.75% 0.124 130.8)
XYZxyz(14.9121, 21.3185, 6.6967)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B35 #5E358B
analogous
#8B8935 #628B35 #378B35
triadic
#628B35 #35628B #8B3562
tetradic
#628B35 #358B89 #5E358B #8B3537
square
#628B35 #358B89 #5E358B #8B3537
split-complementary
#628B35 #35378B #89358B
monochromatic
#243213 #435F24 #628B35 #81B746 #9FC971

Accessibility & contrast

On white

3.99
#628B35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#628B35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B35
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B35#FFFFFF#000000##000000
##628B351.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812B
Deuteranopia (green-blind)
#8B7E3B
Tritanopia (blue-blind)
#648579
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b35;
/* rgb */ color: rgb(98, 139, 53);
/* oklch */ color: oklch(58.7% 0.124 130.8);
Tailwind
colors: {
  custom: {
    50: '#91ad70',
    500: '#628b35',
    950: '#000000',
  },
}
SCSS
$custom: #628b35;
$custom-light: #91ad70;
$custom-dark: #000000;
JSON
{
  "hex": "#628b35",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 53
  },
  "hsl": {
    "h": 88.605,
    "s": 44.792,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.12445,
    "h": 130.8
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#628B35
secondary
#8C6AB1
accent
#53D491
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628B35

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

Preview Lab → · Contrast checker → · Palette generator →

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