#628230#628230

#628230 is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.4% C 0.116 H 127.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#628230
RGBrgb(98, 130, 48)
HSLhsl(83, 46%, 35%)
HSVhsv(83, 63%, 51%)
CMYKcmyk(24.6%, 0%, 63.1%, 49%)
CIE-LABlab(50.42, -25.09, 39.68)
CIE-LCHlch(50.42, 46.95, 122.30°)
OKLaboklab(56.4% -0.071 0.0917)
OKLCHoklch(56.4% 0.116 127.7)
XYZxyz(13.5531, 18.7751, 5.7056)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628230 #503082
analogous
#827930 #628230 #398230
triadic
#628230 #306282 #823062
tetradic
#628230 #308279 #503082 #823039
square
#628230 #308279 #503082 #823039
split-complementary
#628230 #303982 #793082
monochromatic
#1F290F #40551F #628230 #84AF41 #A1C666

Accessibility & contrast

On white

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

On black

4.76
#628230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #628230
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##628230#FFFFFF#000000##000000
##6282301.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887927
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#657C71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628230;
/* rgb */ color: rgb(98, 130, 48);
/* oklch */ color: oklch(56.4% 0.116 127.7);
Tailwind
colors: {
  custom: {
    50: '#91a66c',
    500: '#628230',
    950: '#000000',
  },
}
SCSS
$custom: #628230;
$custom-light: #91a66c;
$custom-dark: #000000;
JSON
{
  "hex": "#628230",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 48
  },
  "hsl": {
    "h": 83.415,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56404,
    "c": 0.11601,
    "h": 127.7
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#628230
secondary
#7E60AE
accent
#52D685
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628230

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

Preview Lab → · Contrast checker → · Palette generator →

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