#289B38#289B38

#289B38 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.171 H 145.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#289B38
RGBrgb(40, 155, 56)
HSLhsl(128, 59%, 38%)
HSVhsv(128, 74%, 61%)
CMYKcmyk(74.2%, 0%, 63.9%, 39.2%)
CIE-LABlab(56.27, -51.85, 41.87)
CIE-LCHlch(56.27, 66.64, 141.08°)
OKLaboklab(60.58% -0.14 0.0978)
OKLCHoklch(60.58% 0.171 145.1)
XYZxyz(13.3093, 24.1778, 7.7060)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B38 #9B288B
analogous
#519B28 #289B38 #289B71
triadic
#289B38 #38289B #9B3828
tetradic
#289B38 #28519B #9B288B #9B7128
square
#289B38 #28519B #9B288B #9B7128
split-complementary
#289B38 #71289B #9B2851
monochromatic
#0F3A15 #1B6A26 #289B38 #35CB4A #66D776

Accessibility & contrast

On white

3.60
#289B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#289B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B38
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B38#FFFFFF#000000##000000
##289B381.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C2D
Deuteranopia (green-blind)
#908341
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289b38;
/* rgb */ color: rgb(40, 155, 56);
/* oklch */ color: oklch(60.6% 0.171 145.1);
Tailwind
colors: {
  custom: {
    50: '#74ba73',
    500: '#289b38',
    950: '#000000',
  },
}
SCSS
$custom: #289b38;
$custom-light: #74ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#289b38",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 128.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.17078,
    "h": 145.1
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#289B38
secondary
#BD61B1
accent
#46CCE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #289B38

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

Preview Lab → · Contrast checker → · Palette generator →

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