#628152#628152

#628152 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.7% C 0.078 H 135.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#628152
RGBrgb(98, 129, 82)
HSLhsl(100, 22%, 41%)
HSVhsv(100, 36%, 51%)
CMYKcmyk(24%, 0%, 36.4%, 49.4%)
CIE-LABlab(50.58, -20.36, 22.01)
CIE-LCHlch(50.58, 29.98, 132.78°)
OKLaboklab(56.68% -0.0555 0.0548)
OKLCHoklch(56.68% 0.078 135.4)
XYZxyz(14.4099, 18.9060, 10.8710)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628152 #715281
analogous
#7A8152 #628152 #52815A
triadic
#628152 #526281 #815262
tetradic
#628152 #527A81 #715281 #815A52
square
#628152 #527A81 #715281 #815A52
split-complementary
#628152 #5A5281 #81527A
monochromatic
#293622 #465C3A #628152 #80A36E #A0BA93

Accessibility & contrast

On white

4.39
#628152 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#628152 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628152
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628152#FFFFFF#000000##000000
##6281521.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#807754
Tritanopia (blue-blind)
#627E75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628152;
/* rgb */ color: rgb(98, 129, 82);
/* oklch */ color: oklch(56.7% 0.078 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fa583',
    500: '#628152',
    950: '#000000',
  },
}
SCSS
$custom: #628152;
$custom-light: #8fa583;
$custom-dark: #000000;
JSON
{
  "hex": "#628152",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 99.574,
    "s": 22.275,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.078,
    "h": 135.4
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#628152
secondary
#9D87A8
accent
#69BFA2
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #628152

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

Preview Lab → · Contrast checker → · Palette generator →

#628152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva