#289837#289837

#289837 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.168 H 145.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#289837
RGBrgb(40, 152, 55)
HSLhsl(128, 58%, 38%)
HSVhsv(128, 74%, 60%)
CMYKcmyk(73.7%, 0%, 63.8%, 40.4%)
CIE-LABlab(55.26, -50.92, 41.19)
CIE-LCHlch(55.26, 65.49, 141.03°)
OKLaboklab(59.74% -0.1375 0.0962)
OKLCHoklch(59.74% 0.168 145)
XYZxyz(12.7920, 23.1820, 7.4141)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289837 #982889
analogous
#519828 #289837 #28986F
triadic
#289837 #372898 #983728
tetradic
#289837 #285198 #982889 #986F28
square
#289837 #285198 #982889 #986F28
split-complementary
#289837 #6F2898 #982851
monochromatic
#0F3714 #1B6825 #289837 #35C849 #64D673

Accessibility & contrast

On white

3.73
#289837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#289837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289837
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289837#FFFFFF#000000##000000
##2898371.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2C
Deuteranopia (green-blind)
#8E813F
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #289837;
/* rgb */ color: rgb(40, 152, 55);
/* oklch */ color: oklch(59.7% 0.168 145.0);
Tailwind
colors: {
  custom: {
    50: '#74b772',
    500: '#289837',
    950: '#000000',
  },
}
SCSS
$custom: #289837;
$custom-light: #74b772;
$custom-dark: #000000;
JSON
{
  "hex": "#289837",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 55
  },
  "hsl": {
    "h": 128.036,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.16786,
    "h": 145
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#289837
secondary
#BC60B0
accent
#46CDE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #289837

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

Preview Lab → · Contrast checker → · Palette generator →

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