#628F3E#628F3E

#628F3E is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.122 H 133.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#628F3E
RGBrgb(98, 143, 62)
HSLhsl(93, 40%, 40%)
HSVhsv(93, 57%, 56%)
CMYKcmyk(31.5%, 0%, 56.6%, 43.9%)
CIE-LABlab(54.65, -30.00, 37.73)
CIE-LCHlch(54.65, 48.21, 128.49°)
OKLaboklab(59.88% -0.0833 0.0891)
OKLCHoklch(59.88% 0.122 133.1)
XYZxyz(15.7287, 22.5888, 8.0879)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628F3E #6B3E8F
analogous
#8B8F3E #628F3E #3E8F42
triadic
#628F3E #3E628F #8F3E62
tetradic
#628F3E #3E8B8F #6B3E8F #8F423E
square
#628F3E #3E8B8F #6B3E8F #8F423E
split-complementary
#628F3E #423E8F #8F3E8B
monochromatic
#273A19 #45642B #628F3E #80B555 #A0C880

Accessibility & contrast

On white

3.81
#628F3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#628F3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628F3E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628F3E#FFFFFF#000000##000000
##628F3E1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948536
Deuteranopia (green-blind)
#8E8144
Tritanopia (blue-blind)
#638A7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #628f3e;
/* rgb */ color: rgb(98, 143, 62);
/* oklch */ color: oklch(59.9% 0.122 133.1);
Tailwind
colors: {
  custom: {
    50: '#91b076',
    500: '#628f3e',
    950: '#000000',
  },
}
SCSS
$custom: #628f3e;
$custom-light: #91b076;
$custom-dark: #000000;
JSON
{
  "hex": "#628f3e",
  "rgb": {
    "r": 98,
    "g": 143,
    "b": 62
  },
  "hsl": {
    "h": 93.333,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.12198,
    "h": 133.1
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#628F3E
secondary
#9877B2
accent
#58CF9B
background
#F9FAF7
surface
#F1F4ED
border
#CBCEC8
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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