#628A36#628A36

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

Color values

HEX#628A36
RGBrgb(98, 138, 54)
HSLhsl(89, 44%, 38%)
HSVhsv(89, 61%, 54%)
CMYKcmyk(29%, 0%, 60.9%, 45.9%)
CIE-LABlab(52.99, -28.44, 39.72)
CIE-LCHlch(52.99, 48.85, 125.61°)
OKLaboklab(58.51% -0.0797 0.0925)
OKLCHoklch(58.51% 0.122 130.7)
XYZxyz(14.7912, 21.0396, 6.7711)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A36 #5E368A
analogous
#8A8836 #628A36 #388A36
triadic
#628A36 #36628A #8A3662
tetradic
#628A36 #368A88 #5E368A #8A3638
square
#628A36 #368A88 #5E368A #8A3638
split-complementary
#628A36 #36388A #88368A
monochromatic
#243214 #435E25 #628A36 #81B647 #9FC872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628A36#FFFFFF#000000##000000
##628A361.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)
#90802D
Deuteranopia (green-blind)
#8A7E3C
Tritanopia (blue-blind)
#648478
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a36;
/* rgb */ color: rgb(98, 138, 54);
/* oklch */ color: oklch(58.5% 0.122 130.7);
Tailwind
colors: {
  custom: {
    50: '#91ac70',
    500: '#628a36',
    950: '#000000',
  },
}
SCSS
$custom: #628a36;
$custom-light: #91ac70;
$custom-dark: #000000;
JSON
{
  "hex": "#628a36",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 88.571,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.12212,
    "h": 130.7
  },
  "luminance": 0.2104
}

Semantic roles & 50–950 ramp

primary
#628A36
secondary
#8C6BB1
accent
#54D391
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D1008
muted
#7E7F7B

Preview Lab

Preview with #628A36

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

Preview Lab → · Contrast checker → · Palette generator →

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