#289F1C#289F1C

#289F1C is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.193 H 141.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#289F1C
RGBrgb(40, 159, 28)
HSLhsl(115, 70%, 37%)
HSVhsv(115, 82%, 62%)
CMYKcmyk(74.8%, 0%, 82.4%, 37.6%)
CIE-LABlab(57.40, -55.60, 53.62)
CIE-LCHlch(57.40, 77.25, 136.04°)
OKLaboklab(61.46% -0.1515 0.1189)
OKLCHoklch(61.46% 0.193 141.9)
XYZxyz(13.4820, 25.3297, 5.2770)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289F1C #931C9F
analogous
#6A9F1C #289F1C #1C9F52
triadic
#289F1C #1C289F #9F1C28
tetradic
#289F1C #1C6A9F #931C9F #9F521C
square
#289F1C #1C6A9F #931C9F #9F521C
split-complementary
#289F1C #521C9F #9F1C6A
monochromatic
#0E370A #1B6B13 #289F1C #35D325 #61E154

Accessibility & contrast

On white

3.46
#289F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#289F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289F1C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289F1C#FFFFFF#000000##000000
##289F1C1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#009A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #289f1c;
/* rgb */ color: rgb(40, 159, 28);
/* oklch */ color: oklch(61.5% 0.193 141.9);
Tailwind
colors: {
  custom: {
    50: '#77bd65',
    500: '#289f1c',
    950: '#000000',
  },
}
SCSS
$custom: #289f1c;
$custom-light: #77bd65;
$custom-dark: #000000;
JSON
{
  "hex": "#289f1c",
  "rgb": {
    "r": 40,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 114.504,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.19257,
    "h": 141.9
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#289F1C
secondary
#BA53C4
accent
#3BEDDD
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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