#628E35#628E35

#628E35 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.5% C 0.129 H 131.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#628E35
RGBrgb(98, 142, 53)
HSLhsl(90, 46%, 38%)
HSVhsv(90, 63%, 56%)
CMYKcmyk(31%, 0%, 62.7%, 44.3%)
CIE-LABlab(54.24, -30.45, 41.58)
CIE-LCHlch(54.24, 51.54, 126.21°)
OKLaboklab(59.51% -0.0853 0.0964)
OKLCHoklch(59.51% 0.129 131.5)
XYZxyz(15.3524, 22.1992, 6.8435)
Luminance0.2220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E35 #61358E
analogous
#8E8D35 #628E35 #358E35
triadic
#628E35 #35628E #8E3562
tetradic
#628E35 #358E8D #61358E #8E3535
square
#628E35 #358E8D #61358E #8E3535
split-complementary
#628E35 #35358E #8D358E
monochromatic
#243514 #436124 #628E35 #81BA46 #9FCB73

Accessibility & contrast

On white

3.86
#628E35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#628E35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628E35
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628E35#FFFFFF#000000##000000
##628E351.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842B
Deuteranopia (green-blind)
#8E813C
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e35;
/* rgb */ color: rgb(98, 142, 53);
/* oklch */ color: oklch(59.5% 0.129 131.5);
Tailwind
colors: {
  custom: {
    50: '#92af70',
    500: '#628e35',
    950: '#000000',
  },
}
SCSS
$custom: #628e35;
$custom-light: #92af70;
$custom-dark: #000000;
JSON
{
  "hex": "#628e35",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 53
  },
  "hsl": {
    "h": 89.663,
    "s": 45.641,
    "l": 38.235
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.12872,
    "h": 131.5
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

primary
#628E35
secondary
#8F6CB3
accent
#52D593
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628E35

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

Preview Lab → · Contrast checker → · Palette generator →

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