#628145#628145

#628145 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.093 H 131.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#628145
RGBrgb(98, 129, 69)
HSLhsl(91, 30%, 39%)
HSVhsv(91, 47%, 51%)
CMYKcmyk(24%, 0%, 46.5%, 49.4%)
CIE-LABlab(50.37, -22.24, 28.92)
CIE-LCHlch(50.37, 36.49, 127.57°)
OKLaboklab(56.44% -0.0614 0.0701)
OKLCHoklch(56.44% 0.093 131.2)
XYZxyz(13.9612, 18.7265, 8.5081)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628145 #644581
analogous
#808145 #628145 #458146
triadic
#628145 #456281 #814562
tetradic
#628145 #458081 #644581 #814645
square
#628145 #458081 #644581 #814645
split-complementary
#628145 #464581 #814580
monochromatic
#25311A #445930 #628145 #80A85C #9FBD83

Accessibility & contrast

On white

4.43
#628145 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#628145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628145
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628145#FFFFFF#000000##000000
##6281451.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867940
Deuteranopia (green-blind)
#817748
Tritanopia (blue-blind)
#637D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628145;
/* rgb */ color: rgb(98, 129, 69);
/* oklch */ color: oklch(56.4% 0.093 131.2);
Tailwind
colors: {
  custom: {
    50: '#90a57a',
    500: '#628145',
    950: '#000000',
  },
}
SCSS
$custom: #628145;
$custom-light: #90a57a;
$custom-dark: #000000;
JSON
{
  "hex": "#628145",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 91,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.09319,
    "h": 131.2
  },
  "luminance": 0.18727
}

Semantic roles & 50–950 ramp

primary
#628145
secondary
#927AA8
accent
#61C796
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0D0F09
muted
#7D7F7B

Preview Lab

Preview with #628145

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

Preview Lab → · Contrast checker → · Palette generator →

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