#628C38#628C38

#628C38 is a mid, vivid yellow-green. Relative luminance 0.216; OKLCH L 59.0% C 0.123 H 131.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#628C38
RGBrgb(98, 140, 56)
HSLhsl(90, 43%, 38%)
HSVhsv(90, 60%, 55%)
CMYKcmyk(30%, 0%, 60%, 45.1%)
CIE-LABlab(53.64, -29.20, 39.49)
CIE-LCHlch(53.64, 49.12, 126.48°)
OKLaboklab(59.04% -0.0816 0.0923)
OKLCHoklch(59.04% 0.123 131.5)
XYZxyz(15.1287, 21.6379, 7.1201)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628C38 #62388C
analogous
#8C8C38 #628C38 #388C38
triadic
#628C38 #38628C #8C3862
tetradic
#628C38 #388C8C #62388C #8C3838
square
#628C38 #388C8C #62388C #8C3838
split-complementary
#628C38 #38388C #8C388C
monochromatic
#253515 #436027 #628C38 #81B74A #9FC876

Accessibility & contrast

On white

3.94
#628C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#628C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628C38
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628C38#FFFFFF#000000##000000
##628C381.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822F
Deuteranopia (green-blind)
#8C7F3E
Tritanopia (blue-blind)
#64877A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #628c38;
/* rgb */ color: rgb(98, 140, 56);
/* oklch */ color: oklch(59.0% 0.123 131.5);
Tailwind
colors: {
  custom: {
    50: '#91ae72',
    500: '#628c38',
    950: '#000000',
  },
}
SCSS
$custom: #628c38;
$custom-light: #91ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#628c38",
  "rgb": {
    "r": 98,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 90,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.12319,
    "h": 131.5
  },
  "luminance": 0.21638
}

Semantic roles & 50–950 ramp

primary
#628C38
secondary
#906FB1
accent
#55D394
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628C38

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

Preview Lab → · Contrast checker → · Palette generator →

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