#289938#289938

#289938 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.168 H 145.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#289938
RGBrgb(40, 153, 56)
HSLhsl(128, 59%, 38%)
HSVhsv(128, 74%, 60%)
CMYKcmyk(73.9%, 0%, 63.4%, 40%)
CIE-LABlab(55.60, -51.15, 41.12)
CIE-LCHlch(55.60, 65.63, 141.20°)
OKLaboklab(60.03% -0.1381 0.0962)
OKLCHoklch(60.03% 0.168 145.1)
XYZxyz(12.9792, 23.5176, 7.5959)
Luminance0.2352 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289938 #992889
analogous
#509928 #289938 #289971
triadic
#289938 #382899 #993828
tetradic
#289938 #285099 #992889 #997128
square
#289938 #285099 #992889 #997128
split-complementary
#289938 #712899 #992850
monochromatic
#0F3814 #1B6826 #289938 #35CA4A #65D775

Accessibility & contrast

On white

3.68
#289938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#289938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289938
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289938#FFFFFF#000000##000000
##2899381.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B2D
Deuteranopia (green-blind)
#8F8240
Tritanopia (blue-blind)
#009584
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #289938;
/* rgb */ color: rgb(40, 153, 56);
/* oklch */ color: oklch(60.0% 0.168 145.1);
Tailwind
colors: {
  custom: {
    50: '#74b872',
    500: '#289938',
    950: '#000000',
  },
}
SCSS
$custom: #289938;
$custom-light: #74b872;
$custom-dark: #000000;
JSON
{
  "hex": "#289938",
  "rgb": {
    "r": 40,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 128.496,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6003,
    "c": 0.16831,
    "h": 145.1
  },
  "luminance": 0.23519
}

Semantic roles & 50–950 ramp

primary
#289938
secondary
#BD60AF
accent
#46CCE2
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #289938

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

Preview Lab → · Contrast checker → · Palette generator →

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