#289838#289838

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

Color values

HEX#289838
RGBrgb(40, 152, 56)
HSLhsl(129, 58%, 38%)
HSVhsv(129, 74%, 60%)
CMYKcmyk(73.7%, 0%, 63.2%, 40.4%)
CIE-LABlab(55.27, -50.80, 40.74)
CIE-LCHlch(55.27, 65.12, 141.27°)
OKLaboklab(59.76% -0.1372 0.0954)
OKLCHoklch(59.76% 0.167 145.2)
XYZxyz(12.8162, 23.1917, 7.5416)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289838 #982888
analogous
#509828 #289838 #289870
triadic
#289838 #382898 #983828
tetradic
#289838 #285098 #982888 #987028
square
#289838 #285098 #982888 #987028
split-complementary
#289838 #702898 #982850
monochromatic
#0F3714 #1B6826 #289838 #35C84A #64D674

Accessibility & contrast

On white

3.72
#289838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##289838#FFFFFF#000000##000000
##2898381.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A2D
Deuteranopia (green-blind)
#8E8140
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #289838;
/* rgb */ color: rgb(40, 152, 56);
/* oklch */ color: oklch(59.8% 0.167 145.2);
Tailwind
colors: {
  custom: {
    50: '#74b772',
    500: '#289838',
    950: '#000000',
  },
}
SCSS
$custom: #289838;
$custom-light: #74b772;
$custom-dark: #000000;
JSON
{
  "hex": "#289838",
  "rgb": {
    "r": 40,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 128.571,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59755,
    "c": 0.16707,
    "h": 145.2
  },
  "luminance": 0.23193
}

Semantic roles & 50–950 ramp

primary
#289838
secondary
#BC60AF
accent
#46CBE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #289838

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

Preview Lab → · Contrast checker → · Palette generator →

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