#628D39#628D39

#628D39 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.3% C 0.124 H 131.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#628D39
RGBrgb(98, 141, 57)
HSLhsl(91, 42%, 39%)
HSVhsv(91, 60%, 55%)
CMYKcmyk(30.5%, 0%, 59.6%, 44.7%)
CIE-LABlab(53.96, -29.58, 39.38)
CIE-LCHlch(53.96, 49.25, 126.91°)
OKLaboklab(59.31% -0.0826 0.0921)
OKLCHoklch(59.31% 0.124 131.9)
XYZxyz(15.3002, 21.9413, 7.2991)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628D39 #64398D
analogous
#8C8D39 #628D39 #398D3A
triadic
#628D39 #39628D #8D3962
tetradic
#628D39 #398C8D #64398D #8D3A39
square
#628D39 #398C8D #64398D #8D3A39
split-complementary
#628D39 #3A398D #8D398C
monochromatic
#253616 #446127 #628D39 #80B74C #9FC878

Accessibility & contrast

On white

3.90
#628D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#628D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628D39
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628D39#FFFFFF#000000##000000
##628D391.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#8D803F
Tritanopia (blue-blind)
#63887B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #628d39;
/* rgb */ color: rgb(98, 141, 57);
/* oklch */ color: oklch(59.3% 0.124 131.9);
Tailwind
colors: {
  custom: {
    50: '#91ae72',
    500: '#628d39',
    950: '#000000',
  },
}
SCSS
$custom: #628d39;
$custom-light: #91ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#628d39",
  "rgb": {
    "r": 98,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 90.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.12373,
    "h": 131.9
  },
  "luminance": 0.21942
}

Semantic roles & 50–950 ramp

primary
#628D39
secondary
#9270B2
accent
#56D295
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628D39

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

Preview Lab → · Contrast checker → · Palette generator →

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