#289B2E#289B2E

#289B2E is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.5% C 0.178 H 143.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#289B2E
RGBrgb(40, 155, 46)
HSLhsl(123, 59%, 38%)
HSVhsv(123, 74%, 61%)
CMYKcmyk(74.2%, 0%, 70.3%, 39.2%)
CIE-LABlab(56.18, -52.91, 46.10)
CIE-LCHlch(56.18, 70.18, 138.93°)
OKLaboklab(60.48% -0.1433 0.1056)
OKLCHoklch(60.48% 0.178 143.6)
XYZxyz(13.0887, 24.0896, 6.5442)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B2E #9B2895
analogous
#5C9B28 #289B2E #289B67
triadic
#289B2E #2E289B #9B2E28
tetradic
#289B2E #285C9B #9B2895 #9B6728
square
#289B2E #285C9B #9B2895 #9B6728
split-complementary
#289B2E #67289B #9B285C
monochromatic
#0F3A11 #1B6A20 #289B2E #35CB3D #66D76C

Accessibility & contrast

On white

3.61
#289B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#289B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B2E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B2E#FFFFFF#000000##000000
##289B2E1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1E
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b2e;
/* rgb */ color: rgb(40, 155, 46);
/* oklch */ color: oklch(60.5% 0.178 143.6);
Tailwind
colors: {
  custom: {
    50: '#75ba6d',
    500: '#289b2e',
    950: '#000000',
  },
}
SCSS
$custom: #289b2e;
$custom-light: #75ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#289b2e",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 123.13,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60479,
    "c": 0.17806,
    "h": 143.6
  },
  "luminance": 0.24091
}

Semantic roles & 50–950 ramp

primary
#289B2E
secondary
#BD61B9
accent
#46DAE2
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #289B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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