#628A34#628A34

#628A34 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.5% C 0.124 H 130.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#628A34
RGBrgb(98, 138, 52)
HSLhsl(88, 45%, 37%)
HSVhsv(88, 62%, 54%)
CMYKcmyk(29%, 0%, 62.3%, 45.9%)
CIE-LABlab(52.97, -28.63, 40.64)
CIE-LCHlch(52.97, 49.71, 125.17°)
OKLaboklab(58.48% -0.0804 0.0943)
OKLCHoklch(58.48% 0.124 130.5)
XYZxyz(14.7452, 21.0212, 6.5288)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A34 #5C348A
analogous
#8A8734 #628A34 #378A34
triadic
#628A34 #34628A #8A3462
tetradic
#628A34 #348A87 #5C348A #8A3437
square
#628A34 #348A87 #5C348A #8A3437
split-complementary
#628A34 #34378A #87348A
monochromatic
#233113 #425E23 #628A34 #82B645 #9FC96F

Accessibility & contrast

On white

4.04
#628A34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#628A34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A34
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A34#FFFFFF#000000##000000
##628A341.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802A
Deuteranopia (green-blind)
#8A7D3A
Tritanopia (blue-blind)
#648478
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a34;
/* rgb */ color: rgb(98, 138, 52);
/* oklch */ color: oklch(58.5% 0.124 130.5);
Tailwind
colors: {
  custom: {
    50: '#91ac6f',
    500: '#628a34',
    950: '#000000',
  },
}
SCSS
$custom: #628a34;
$custom-light: #91ac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#628a34",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 52
  },
  "hsl": {
    "h": 87.907,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.1239,
    "h": 130.5
  },
  "luminance": 0.21022
}

Semantic roles & 50–950 ramp

primary
#628A34
secondary
#8A69B1
accent
#53D58F
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A34

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

Preview Lab → · Contrast checker → · Palette generator →

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