#289A2C#289A2C

#289A2C is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.178 H 143.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#289A2C
RGBrgb(40, 154, 44)
HSLhsl(122, 59%, 38%)
HSVhsv(122, 74%, 60%)
CMYKcmyk(74%, 0%, 71.4%, 39.6%)
CIE-LABlab(55.83, -52.76, 46.54)
CIE-LCHlch(55.83, 70.36, 138.58°)
OKLaboklab(60.19% -0.143 0.1063)
OKLCHoklch(60.19% 0.178 143.4)
XYZxyz(12.8845, 23.7427, 6.2862)
Luminance0.2374 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289A2C #9A2896
analogous
#5D9A28 #289A2C #289A65
triadic
#289A2C #2C289A #9A2C28
tetradic
#289A2C #285D9A #9A2896 #9A6528
square
#289A2C #285D9A #9A2896 #9A6528
split-complementary
#289A2C #65289A #9A285D
monochromatic
#0F3910 #1B691E #289A2C #35CA3A #65D769

Accessibility & contrast

On white

3.65
#289A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#289A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289A2C
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289A2C#FFFFFF#000000##000000
##289A2C1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289a2c;
/* rgb */ color: rgb(40, 154, 44);
/* oklch */ color: oklch(60.2% 0.178 143.4);
Tailwind
colors: {
  custom: {
    50: '#75b96b',
    500: '#289a2c',
    950: '#000000',
  },
}
SCSS
$custom: #289a2c;
$custom-light: #75b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#289a2c",
  "rgb": {
    "r": 40,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 122.105,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.17821,
    "h": 143.4
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#289A2C
secondary
#BD61BA
accent
#46DCE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#289A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva