#289C1F#289C1F

#289C1F is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.6% C 0.188 H 142.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#289C1F
RGBrgb(40, 156, 31)
HSLhsl(116, 67%, 37%)
HSVhsv(116, 80%, 61%)
CMYKcmyk(74.4%, 0%, 80.1%, 38.8%)
CIE-LABlab(56.41, -54.44, 51.80)
CIE-LCHlch(56.41, 75.14, 136.42°)
OKLaboklab(60.64% -0.1482 0.1155)
OKLCHoklch(60.64% 0.188 142.1)
XYZxyz(13.0101, 24.3255, 5.3057)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289C1F #931F9C
analogous
#679C1F #289C1F #1F9C55
triadic
#289C1F #1F289C #9C1F28
tetradic
#289C1F #1F679C #931F9C #9C551F
square
#289C1F #1F679C #931F9C #9C551F
split-complementary
#289C1F #551F9C #9C1F67
monochromatic
#0E360B #1B6915 #289C1F #35CF29 #61DE58

Accessibility & contrast

On white

3.58
#289C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#289C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289C1F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289C1F#FFFFFF#000000##000000
##289C1F1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#009785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #289c1f;
/* rgb */ color: rgb(40, 156, 31);
/* oklch */ color: oklch(60.6% 0.188 142.1);
Tailwind
colors: {
  custom: {
    50: '#76ba65',
    500: '#289c1f',
    950: '#000000',
  },
}
SCSS
$custom: #289c1f;
$custom-light: #76ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#289c1f",
  "rgb": {
    "r": 40,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 115.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.18791,
    "h": 142.1
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#289C1F
secondary
#BA55C1
accent
#3EEADD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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