#628A38#628A38

#628A38 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.5% C 0.120 H 131.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#628A38
RGBrgb(98, 138, 56)
HSLhsl(89, 42%, 38%)
HSVhsv(89, 59%, 54%)
CMYKcmyk(29%, 0%, 59.4%, 45.9%)
CIE-LABlab(53.01, -28.24, 38.78)
CIE-LCHlch(53.01, 47.97, 126.06°)
OKLaboklab(58.53% -0.079 0.0907)
OKLCHoklch(58.53% 0.12 131)
XYZxyz(14.8391, 21.0587, 7.0235)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A38 #60388A
analogous
#8A8938 #628A38 #398A38
triadic
#628A38 #38628A #8A3862
tetradic
#628A38 #388A89 #60388A #8A3839
square
#628A38 #388A89 #60388A #8A3839
split-complementary
#628A38 #38398A #89388A
monochromatic
#243315 #435E26 #628A38 #81B54A #9FC775

Accessibility & contrast

On white

4.03
#628A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#628A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A38
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A38#FFFFFF#000000##000000
##628A381.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812F
Deuteranopia (green-blind)
#8A7E3E
Tritanopia (blue-blind)
#648578
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628a38;
/* rgb */ color: rgb(98, 138, 56);
/* oklch */ color: oklch(58.5% 0.120 131.0);
Tailwind
colors: {
  custom: {
    50: '#91ac72',
    500: '#628a38',
    950: '#000000',
  },
}
SCSS
$custom: #628a38;
$custom-light: #91ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#628a38",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 89.268,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.1203,
    "h": 131
  },
  "luminance": 0.21059
}

Semantic roles & 50–950 ramp

primary
#628A38
secondary
#8E6EB0
accent
#56D292
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628A38

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

Preview Lab → · Contrast checker → · Palette generator →

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