#628251#628251

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

Color values

HEX#628251
RGBrgb(98, 130, 81)
HSLhsl(99, 23%, 41%)
HSVhsv(99, 38%, 51%)
CMYKcmyk(24.6%, 0%, 37.7%, 49%)
CIE-LABlab(50.87, -21.03, 22.95)
CIE-LCHlch(50.87, 31.13, 132.51°)
OKLaboklab(56.91% -0.0574 0.057)
OKLCHoklch(56.91% 0.081 135.3)
XYZxyz(14.5045, 19.1556, 10.7162)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628251 #715182
analogous
#7B8251 #628251 #518259
triadic
#628251 #516282 #825162
tetradic
#628251 #517B82 #715182 #825951
square
#628251 #517B82 #715182 #825951
split-complementary
#628251 #595182 #82517B
monochromatic
#293722 #465C3A #628251 #80A46C #A0BB92

Accessibility & contrast

On white

4.35
#628251 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628251#FFFFFF#000000##000000
##6282511.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4E
Deuteranopia (green-blind)
#817854
Tritanopia (blue-blind)
#627E76
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #628251;
/* rgb */ color: rgb(98, 130, 81);
/* oklch */ color: oklch(56.9% 0.081 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fa682',
    500: '#628251',
    950: '#000000',
  },
}
SCSS
$custom: #628251;
$custom-light: #8fa682;
$custom-dark: #000000;
JSON
{
  "hex": "#628251",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 81
  },
  "hsl": {
    "h": 99.184,
    "s": 23.223,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.08089,
    "h": 135.3
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#628251
secondary
#9D87A8
accent
#68C0A1
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #628251

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

Preview Lab → · Contrast checker → · Palette generator →

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