#289227#289227

#289227 is a mid, vivid green. Relative luminance 0.212; OKLCH L 57.9% C 0.172 H 142.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#289227
RGBrgb(40, 146, 39)
HSLhsl(119, 58%, 36%)
HSVhsv(119, 73%, 57%)
CMYKcmyk(72.6%, 0%, 73.3%, 42.7%)
CIE-LABlab(53.12, -50.48, 45.71)
CIE-LCHlch(53.12, 68.10, 137.84°)
OKLaboklab(57.92% -0.1371 0.1039)
OKLCHoklch(57.92% 0.172 142.8)
XYZxyz(11.5195, 21.1541, 5.3951)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#289227 #912792
analogous
#5E9227 #289227 #27925C
triadic
#289227 #272892 #922728
tetradic
#289227 #275E92 #912792 #925C27
square
#289227 #275E92 #912792 #925C27
split-complementary
#289227 #5C2792 #92275E
monochromatic
#0E310D #1B621A #289227 #35C234 #60D45F

Accessibility & contrast

On white

4.01
#289227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#289227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #289227
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##289227#FFFFFF#000000##000000
##2892271.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#038E7D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #289227;
/* rgb */ color: rgb(40, 146, 39);
/* oklch */ color: oklch(57.9% 0.172 142.8);
Tailwind
colors: {
  custom: {
    50: '#73b368',
    500: '#289227',
    950: '#000000',
  },
}
SCSS
$custom: #289227;
$custom-light: #73b368;
$custom-dark: #000000;
JSON
{
  "hex": "#289227",
  "rgb": {
    "r": 40,
    "g": 146,
    "b": 39
  },
  "hsl": {
    "h": 119.439,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.17203,
    "h": 142.8
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#289227
secondary
#B95BBA
accent
#47E1E0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #289227

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

Preview Lab → · Contrast checker → · Palette generator →

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