#628252#628252

#628252 is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.9% C 0.080 H 135.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#628252
RGBrgb(98, 130, 82)
HSLhsl(100, 23%, 42%)
HSVhsv(100, 37%, 51%)
CMYKcmyk(24.6%, 0%, 36.9%, 49%)
CIE-LABlab(50.89, -20.88, 22.41)
CIE-LCHlch(50.89, 30.63, 132.97°)
OKLaboklab(56.93% -0.057 0.0557)
OKLCHoklch(56.93% 0.08 135.6)
XYZxyz(14.5423, 19.1707, 10.9151)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628252 #725282
analogous
#7A8252 #628252 #52825A
triadic
#628252 #526282 #825262
tetradic
#628252 #527A82 #725282 #825A52
square
#628252 #527A82 #725282 #825A52
split-complementary
#628252 #5A5282 #82527A
monochromatic
#293723 #465C3A #628252 #80A36E #A1BB93

Accessibility & contrast

On white

4.34
#628252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#628252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628252
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628252#FFFFFF#000000##000000
##6282521.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B4F
Deuteranopia (green-blind)
#817855
Tritanopia (blue-blind)
#627F76
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628252;
/* rgb */ color: rgb(98, 130, 82);
/* oklch */ color: oklch(56.9% 0.080 135.6);
Tailwind
colors: {
  custom: {
    50: '#8fa683',
    500: '#628252',
    950: '#000000',
  },
}
SCSS
$custom: #628252;
$custom-light: #8fa683;
$custom-dark: #000000;
JSON
{
  "hex": "#628252",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 100,
    "s": 22.642,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.0797,
    "h": 135.6
  },
  "luminance": 0.19171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #628252

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

Preview Lab → · Contrast checker → · Palette generator →

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