#628A2C#628A2C

#628A2C is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.130 H 129.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#628A2C
RGBrgb(98, 138, 44)
HSLhsl(86, 52%, 36%)
HSVhsv(86, 68%, 54%)
CMYKcmyk(29%, 0%, 68.1%, 45.9%)
CIE-LABlab(52.90, -29.33, 44.16)
CIE-LCHlch(52.90, 53.01, 123.59°)
OKLaboklab(58.4% -0.083 0.1007)
OKLCHoklch(58.4% 0.13 129.5)
XYZxyz(14.5800, 20.9551, 5.6589)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628A2C #542C8A
analogous
#8A832C #628A2C #338A2C
triadic
#628A2C #2C628A #8A2C62
tetradic
#628A2C #2C8A83 #542C8A #8A2C33
square
#628A2C #2C8A83 #542C8A #8A2C33
split-complementary
#628A2C #2C338A #832C8A
monochromatic
#202D0E #415C1D #628A2C #83B83B #A0CD63

Accessibility & contrast

On white

4.05
#628A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#628A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628A2C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628A2C#FFFFFF#000000##000000
##628A2C1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#8B7D34
Tritanopia (blue-blind)
#658477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #628a2c;
/* rgb */ color: rgb(98, 138, 44);
/* oklch */ color: oklch(58.4% 0.130 129.5);
Tailwind
colors: {
  custom: {
    50: '#92ac6a',
    500: '#628a2c',
    950: '#000000',
  },
}
SCSS
$custom: #628a2c;
$custom-light: #92ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#628a2c",
  "rgb": {
    "r": 98,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 85.532,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.13049,
    "h": 129.5
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#628A2C
secondary
#835EB4
accent
#4DDB89
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #628A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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