#628135#628135

#628135 is a mid, moderate yellow-green. Relative luminance 0.186; OKLCH L 56.2% C 0.110 H 128.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#628135
RGBrgb(98, 129, 53)
HSLhsl(84, 42%, 36%)
HSVhsv(84, 59%, 51%)
CMYKcmyk(24%, 0%, 58.9%, 49.4%)
CIE-LABlab(50.16, -24.11, 36.98)
CIE-LCHlch(50.16, 44.14, 123.10°)
OKLaboklab(56.21% -0.0678 0.0865)
OKLCHoklch(56.21% 0.11 128.1)
XYZxyz(13.5298, 18.5540, 6.2359)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628135 #543581
analogous
#817A35 #628135 #3C8135
triadic
#628135 #356281 #813562
tetradic
#628135 #35817A #543581 #81353C
square
#628135 #35817A #543581 #81353C
split-complementary
#628135 #353C81 #7A3581
monochromatic
#202A11 #415623 #628135 #83AC47 #A0C36D

Accessibility & contrast

On white

4.46
#628135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#628135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628135
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628135#FFFFFF#000000##000000
##6281351.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87792D
Deuteranopia (green-blind)
#83773A
Tritanopia (blue-blind)
#657C70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628135;
/* rgb */ color: rgb(98, 129, 53);
/* oklch */ color: oklch(56.2% 0.110 128.1);
Tailwind
colors: {
  custom: {
    50: '#91a56f',
    500: '#628135',
    950: '#000000',
  },
}
SCSS
$custom: #628135;
$custom-light: #91a56f;
$custom-dark: #000000;
JSON
{
  "hex": "#628135",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 53
  },
  "hsl": {
    "h": 84.474,
    "s": 41.758,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.10995,
    "h": 128.1
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#628135
secondary
#8366AB
accent
#56D289
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628135

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

Preview Lab → · Contrast checker → · Palette generator →

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