#628151#628151

#628151 is a mid, moderate yellow-green. Relative luminance 0.189; OKLCH L 56.7% C 0.079 H 135.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#628151
RGBrgb(98, 129, 81)
HSLhsl(99, 23%, 41%)
HSVhsv(99, 37%, 51%)
CMYKcmyk(24%, 0%, 37.2%, 49.4%)
CIE-LABlab(50.56, -20.52, 22.54)
CIE-LCHlch(50.56, 30.48, 132.30°)
OKLaboklab(56.66% -0.056 0.056)
OKLCHoklch(56.66% 0.079 135)
XYZxyz(14.3721, 18.8909, 10.6721)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628151 #705181
analogous
#7A8151 #628151 #518158
triadic
#628151 #516281 #815162
tetradic
#628151 #517A81 #705181 #815851
square
#628151 #517A81 #705181 #815851
split-complementary
#628151 #585181 #81517A
monochromatic
#293622 #455B39 #628151 #80A36C #A0BA92

Accessibility & contrast

On white

4.39
#628151 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#628151 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628151
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628151#FFFFFF#000000##000000
##6281511.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4E
Deuteranopia (green-blind)
#807754
Tritanopia (blue-blind)
#627E75
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628151;
/* rgb */ color: rgb(98, 129, 81);
/* oklch */ color: oklch(56.7% 0.079 135.0);
Tailwind
colors: {
  custom: {
    50: '#8fa582',
    500: '#628151',
    950: '#000000',
  },
}
SCSS
$custom: #628151;
$custom-light: #8fa582;
$custom-dark: #000000;
JSON
{
  "hex": "#628151",
  "rgb": {
    "r": 98,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 98.75,
    "s": 22.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.0792,
    "h": 135
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#628151
secondary
#9C86A8
accent
#68BFA1
background
#F8FAF8
surface
#F0F4EF
border
#CBCECA
text
#0C0F0A
muted
#7D7F7C

Preview Lab

Preview with #628151

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

Preview Lab → · Contrast checker → · Palette generator →

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