#278227#278227

#278227 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.153 H 143.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#278227
RGBrgb(39, 130, 39)
HSLhsl(120, 54%, 33%)
HSVhsv(120, 70%, 51%)
CMYKcmyk(70%, 0%, 70%, 49%)
CIE-LABlab(47.68, -45.03, 39.99)
CIE-LCHlch(47.68, 60.22, 138.39°)
OKLaboklab(53.41% -0.1223 0.0919)
OKLCHoklch(53.41% 0.153 143.1)
XYZxyz(9.1850, 16.5421, 4.6280)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278227 #822782
analogous
#548227 #278227 #278254
triadic
#278227 #272782 #822727
tetradic
#278227 #275482 #822782 #825427
square
#278227 #275482 #822782 #825427
split-complementary
#278227 #542782 #822754
monochromatic
#0B240B #195319 #278227 #35B135 #57CD57

Accessibility & contrast

On white

4.87
#278227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#278227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278227
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278227#FFFFFF#000000##FFFFFF
##2782271.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761A
Deuteranopia (green-blind)
#7A6E30
Tritanopia (blue-blind)
#0F7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278227;
/* rgb */ color: rgb(39, 130, 39);
/* oklch */ color: oklch(53.4% 0.153 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa766',
    500: '#278227',
    950: '#000000',
  },
}
SCSS
$custom: #278227;
$custom-light: #6fa766;
$custom-dark: #000000;
JSON
{
  "hex": "#278227",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 120,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.15297,
    "h": 143.1
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#278227
secondary
#B153B1
accent
#4BDDDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278227

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

Preview Lab → · Contrast checker → · Palette generator →

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