#628133#628133

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

Color values

HEX#628133
RGBrgb(98, 129, 51)
HSLhsl(84, 43%, 35%)
HSVhsv(84, 60%, 51%)
CMYKcmyk(24%, 0%, 60.5%, 49.4%)
CIE-LABlab(50.14, -24.31, 37.93)
CIE-LCHlch(50.14, 45.05, 122.65°)
OKLaboklab(56.18% -0.0686 0.0884)
OKLCHoklch(56.18% 0.112 127.8)
XYZxyz(13.4848, 18.5360, 5.9987)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628133 #523381
analogous
#817933 #628133 #3B8133
triadic
#628133 #336281 #813362
tetradic
#628133 #338179 #523381 #81333B
square
#628133 #338179 #523381 #81333B
split-complementary
#628133 #333B81 #793381
monochromatic
#1F2910 #415522 #628133 #83AD44 #A0C46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##628133#FFFFFF#000000##000000
##6281331.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)
#87792B
Deuteranopia (green-blind)
#837738
Tritanopia (blue-blind)
#657B70
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #628133;
/* rgb */ color: rgb(98, 129, 51);
/* oklch */ color: oklch(56.2% 0.112 127.8);
Tailwind
colors: {
  custom: {
    50: '#91a56e',
    500: '#628133',
    950: '#000000',
  },
}
SCSS
$custom: #628133;
$custom-light: #91a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#628133",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 51
  },
  "hsl": {
    "h": 83.846,
    "s": 43.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.11185,
    "h": 127.8
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#628133
secondary
#8064AC
accent
#55D387
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628133

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

Preview Lab → · Contrast checker → · Palette generator →

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