#628233#628233

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

Color values

HEX#628233
RGBrgb(98, 130, 51)
HSLhsl(84, 44%, 35%)
HSVhsv(84, 61%, 51%)
CMYKcmyk(24.6%, 0%, 60.8%, 49%)
CIE-LABlab(50.45, -24.81, 38.29)
CIE-LCHlch(50.45, 45.62, 122.94°)
OKLaboklab(56.44% -0.0699 0.0891)
OKLCHoklch(56.44% 0.113 128.1)
XYZxyz(13.6171, 18.8007, 6.0428)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#628233 #533382
analogous
#827A33 #628233 #3A8233
triadic
#628233 #336282 #823362
tetradic
#628233 #33827A #533382 #82333A
square
#628233 #33827A #533382 #82333A
split-complementary
#628233 #333A82 #7A3382
monochromatic
#202A11 #415622 #628233 #83AE44 #A0C56B

Accessibility & contrast

On white

4.41
#628233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##628233#FFFFFF#000000##000000
##6282331.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88792A
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#657C71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #628233;
/* rgb */ color: rgb(98, 130, 51);
/* oklch */ color: oklch(56.4% 0.113 128.1);
Tailwind
colors: {
  custom: {
    50: '#91a66e',
    500: '#628233',
    950: '#000000',
  },
}
SCSS
$custom: #628233;
$custom-light: #91a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#628233",
  "rgb": {
    "r": 98,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 84.304,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.11329,
    "h": 128.1
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#628233
secondary
#8264AD
accent
#54D388
background
#F9FAF6
surface
#F1F4EC
border
#CBCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #628233

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

Preview Lab → · Contrast checker → · Palette generator →

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