#628B38#628B38

#628B38 is a mid, vivid yellow-green. Relative luminance 0.213; OKLCH L 58.8% C 0.122 H 131.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#628B38
RGBrgb(98, 139, 56)
HSLhsl(90, 43%, 38%)
HSVhsv(90, 60%, 55%)
CMYKcmyk(29.5%, 0%, 59.7%, 45.5%)
CIE-LABlab(53.33, -28.72, 39.14)
CIE-LCHlch(53.33, 48.55, 126.28°)
OKLaboklab(58.78% -0.0803 0.0915)
OKLCHoklch(58.78% 0.122 131.3)
XYZxyz(14.9833, 21.3470, 7.0716)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628B38 #61388B
analogous
#8B8A38 #628B38 #388B38
triadic
#628B38 #38628B #8B3862
tetradic
#628B38 #388B8A #61388B #8B3838
square
#628B38 #388B8A #61388B #8B3838
split-complementary
#628B38 #38388B #8A388B
monochromatic
#243415 #435F26 #628B38 #81B64A #9FC876

Accessibility & contrast

On white

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

On black

5.27
#628B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628B38
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628B38#FFFFFF#000000##000000
##628B381.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91812F
Deuteranopia (green-blind)
#8B7E3E
Tritanopia (blue-blind)
#648679
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #628b38;
/* rgb */ color: rgb(98, 139, 56);
/* oklch */ color: oklch(58.8% 0.122 131.3);
Tailwind
colors: {
  custom: {
    50: '#91ad72',
    500: '#628b38',
    950: '#000000',
  },
}
SCSS
$custom: #628b38;
$custom-light: #91ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#628b38",
  "rgb": {
    "r": 98,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 89.639,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.12175,
    "h": 131.3
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#628B38
secondary
#8F6EB1
accent
#55D293
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628B38

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

Preview Lab → · Contrast checker → · Palette generator →

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