#206228#206228

#206228 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.112 H 145.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#206228
RGBrgb(32, 98, 40)
HSLhsl(127, 51%, 25%)
HSVhsv(127, 67%, 38%)
CMYKcmyk(67.3%, 0%, 59.2%, 61.6%)
CIE-LABlab(36.36, -34.11, 26.68)
CIE-LCHlch(36.36, 43.30, 141.97°)
OKLaboklab(43.99% -0.0923 0.0636)
OKLCHoklch(43.99% 0.112 145.4)
XYZxyz(5.3460, 9.1951, 3.5002)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#206228 #62205A
analogous
#396220 #206228 #206249
triadic
#206228 #282062 #622820
tetradic
#206228 #203962 #62205A #624920
square
#206228 #203962 #62205A #624920
split-complementary
#206228 #492062 #622039
monochromatic
#081709 #113415 #206228 #2F903B #3EBE4E

Accessibility & contrast

On white

7.40
#206228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#206228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #206228
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##206228#FFFFFF#000000##FFFFFF
##2062281.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645922
Deuteranopia (green-blind)
#5B532C
Tritanopia (blue-blind)
#0F5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #206228;
/* rgb */ color: rgb(32, 98, 40);
/* oklch */ color: oklch(44.0% 0.112 145.4);
Tailwind
colors: {
  custom: {
    50: '#648f64',
    500: '#206228',
    950: '#000000',
  },
}
SCSS
$custom: #206228;
$custom-light: #648f64;
$custom-dark: #000000;
JSON
{
  "hex": "#206228",
  "rgb": {
    "r": 32,
    "g": 98,
    "b": 40
  },
  "hsl": {
    "h": 127.273,
    "s": 50.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.11205,
    "h": 145.4
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#206228
secondary
#96478D
accent
#4EC9DA
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #206228

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

Preview Lab → · Contrast checker → · Palette generator →

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