#628E34#628E34

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

Color values

HEX#628E34
RGBrgb(98, 142, 52)
HSLhsl(89, 46%, 38%)
HSVhsv(89, 63%, 56%)
CMYKcmyk(31%, 0%, 63.4%, 44.3%)
CIE-LABlab(54.23, -30.54, 42.03)
CIE-LCHlch(54.23, 51.96, 126.00°)
OKLaboklab(59.5% -0.0857 0.0972)
OKLCHoklch(59.5% 0.13 131.4)
XYZxyz(15.3297, 22.1901, 6.7236)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628E34 #60348E
analogous
#8E8D34 #628E34 #358E34
triadic
#628E34 #34628E #8E3462
tetradic
#628E34 #348E8D #60348E #8E3435
square
#628E34 #348E8D #60348E #8E3435
split-complementary
#628E34 #34358E #8D348E
monochromatic
#243413 #436124 #628E34 #81BB44 #9FCB71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628E34#FFFFFF#000000##000000
##628E341.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)
#948429
Deuteranopia (green-blind)
#8E813B
Tritanopia (blue-blind)
#64887B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #628e34;
/* rgb */ color: rgb(98, 142, 52);
/* oklch */ color: oklch(59.5% 0.130 131.4);
Tailwind
colors: {
  custom: {
    50: '#92af6f',
    500: '#628e34',
    950: '#000000',
  },
}
SCSS
$custom: #628e34;
$custom-light: #92af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628e34",
  "rgb": {
    "r": 98,
    "g": 142,
    "b": 52
  },
  "hsl": {
    "h": 89.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59503,
    "c": 0.12957,
    "h": 131.4
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

primary
#628E34
secondary
#8E6AB3
accent
#52D692
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628E34

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

Preview Lab → · Contrast checker → · Palette generator →

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