#628A35#628A35

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

Color values

HEX#628A35
RGBrgb(98, 138, 53)
HSLhsl(88, 45%, 37%)
HSVhsv(88, 62%, 54%)
CMYKcmyk(29%, 0%, 61.6%, 45.9%)
CIE-LABlab(52.98, -28.54, 40.18)
CIE-LCHlch(52.98, 49.28, 125.39°)
OKLaboklab(58.49% -0.0801 0.0934)
OKLCHoklch(58.49% 0.123 130.6)
XYZxyz(14.7679, 21.0303, 6.6486)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A35 #5D358A
analogous
#8A8735 #628A35 #388A35
triadic
#628A35 #35628A #8A3562
tetradic
#628A35 #358A87 #5D358A #8A3538
square
#628A35 #358A87 #5D358A #8A3538
split-complementary
#628A35 #35388A #87358A
monochromatic
#233213 #435E24 #628A35 #81B646 #9FC871

Accessibility & contrast

On white

4.03
#628A35 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#628A35 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A35
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A35#FFFFFF#000000##000000
##628A351.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #628a35;
/* rgb */ color: rgb(98, 138, 53);
/* oklch */ color: oklch(58.5% 0.123 130.6);
Tailwind
colors: {
  custom: {
    50: '#91ac70',
    500: '#628a35',
    950: '#000000',
  },
}
SCSS
$custom: #628a35;
$custom-light: #91ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#628a35",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 53
  },
  "hsl": {
    "h": 88.235,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.12302,
    "h": 130.6
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#628A35
secondary
#8B6AB1
accent
#54D490
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628A35

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

Preview Lab → · Contrast checker → · Palette generator →

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