#289B23#289B23

#289B23 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.185 H 142.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#289B23
RGBrgb(40, 155, 35)
HSLhsl(118, 63%, 37%)
HSVhsv(118, 77%, 61%)
CMYKcmyk(74.2%, 0%, 77.4%, 39.2%)
CIE-LABlab(56.10, -53.84, 50.18)
CIE-LCHlch(56.10, 73.60, 137.01°)
OKLaboklab(60.39% -0.1464 0.1127)
OKLCHoklch(60.39% 0.185 142.4)
XYZxyz(12.8990, 24.0137, 5.5451)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289B23 #96239B
analogous
#649B23 #289B23 #239B5A
triadic
#289B23 #23289B #9B2328
tetradic
#289B23 #23649B #96239B #9B5A23
square
#289B23 #23649B #96239B #9B5A23
split-complementary
#289B23 #5A239B #9B2364
monochromatic
#0E370C #1B6918 #289B23 #35CD2E #63DB5E

Accessibility & contrast

On white

3.62
#289B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#289B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289B23
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289B23#FFFFFF#000000##000000
##289B231.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#928330
Tritanopia (blue-blind)
#009684
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #289b23;
/* rgb */ color: rgb(40, 155, 35);
/* oklch */ color: oklch(60.4% 0.185 142.4);
Tailwind
colors: {
  custom: {
    50: '#75ba67',
    500: '#289b23',
    950: '#000000',
  },
}
SCSS
$custom: #289b23;
$custom-light: #75ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#289b23",
  "rgb": {
    "r": 40,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 117.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.18475,
    "h": 142.4
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#289B23
secondary
#BB5ABF
accent
#42E6DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #289B23

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

Preview Lab → · Contrast checker → · Palette generator →

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