#628148#628148

#628148 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.5% C 0.090 H 132.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#628148
RGBrgb(98, 129, 72)
HSLhsl(93, 28%, 39%)
HSVhsv(93, 44%, 51%)
CMYKcmyk(24%, 0%, 44.2%, 49.4%)
CIE-LABlab(50.41, -21.84, 27.34)
CIE-LCHlch(50.41, 35.00, 128.61°)
OKLaboklab(56.49% -0.0601 0.0667)
OKLCHoklch(56.49% 0.09 132)
XYZxyz(14.0567, 18.7647, 9.0110)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628148 #674881
analogous
#7F8148 #628148 #48814B
triadic
#628148 #486281 #814862
tetradic
#628148 #487F81 #674881 #814B48
square
#628148 #487F81 #674881 #814B48
split-complementary
#628148 #4B4881 #81487F
monochromatic
#26321C #445A32 #628148 #80A660 #9FBC87

Accessibility & contrast

On white

4.42
#628148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628148#FFFFFF#000000##000000
##6281481.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A44
Deuteranopia (green-blind)
#81774B
Tritanopia (blue-blind)
#637D73
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628148;
/* rgb */ color: rgb(98, 129, 72);
/* oklch */ color: oklch(56.5% 0.090 132.0);
Tailwind
colors: {
  custom: {
    50: '#90a57c',
    500: '#628148',
    950: '#000000',
  },
}
SCSS
$custom: #628148;
$custom-light: #90a57c;
$custom-dark: #000000;
JSON
{
  "hex": "#628148",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 92.632,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.08978,
    "h": 132
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#628148
secondary
#947DA8
accent
#63C598
background
#F8FAF7
surface
#F0F4EE
border
#CBCEC9
text
#0C0F09
muted
#7D7F7B

Preview Lab

Preview with #628148

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

Preview Lab → · Contrast checker → · Palette generator →

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