#289821#289821

#289821 is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.5% C 0.182 H 142.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#289821
RGBrgb(40, 152, 33)
HSLhsl(116, 64%, 36%)
HSVhsv(116, 78%, 60%)
CMYKcmyk(73.7%, 0%, 78.3%, 40.4%)
CIE-LABlab(55.09, -52.98, 49.87)
CIE-LCHlch(55.09, 72.76, 136.73°)
OKLaboklab(59.55% -0.1442 0.1118)
OKLCHoklch(59.55% 0.182 142.2)
XYZxyz(12.3771, 23.0160, 5.2288)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289821 #912198
analogous
#649821 #289821 #219856
triadic
#289821 #212898 #982128
tetradic
#289821 #216498 #912198 #985621
square
#289821 #216498 #912198 #985621
split-complementary
#289821 #562198 #982164
monochromatic
#0E330B #1B6616 #289821 #35CA2C #60DB59

Accessibility & contrast

On white

3.75
#289821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#289821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289821
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289821#FFFFFF#000000##000000
##2898211.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8903
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #289821;
/* rgb */ color: rgb(40, 152, 33);
/* oklch */ color: oklch(59.5% 0.182 142.2);
Tailwind
colors: {
  custom: {
    50: '#75b766',
    500: '#289821',
    950: '#000000',
  },
}
SCSS
$custom: #289821;
$custom-light: #75b766;
$custom-dark: #000000;
JSON
{
  "hex": "#289821",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 33
  },
  "hsl": {
    "h": 116.471,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.18243,
    "h": 142.2
  },
  "luminance": 0.23017
}

Semantic roles & 50–950 ramp

primary
#289821
secondary
#B956BF
accent
#40E7DE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #289821

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

Preview Lab → · Contrast checker → · Palette generator →

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