#278128#278128

#278128 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.151 H 143.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#278128
RGBrgb(39, 129, 40)
HSLhsl(121, 54%, 33%)
HSVhsv(121, 70%, 51%)
CMYKcmyk(69.8%, 0%, 69%, 49.4%)
CIE-LABlab(47.34, -44.56, 39.20)
CIE-LCHlch(47.34, 59.34, 138.66°)
OKLaboklab(53.13% -0.1209 0.0904)
OKLCHoklch(53.13% 0.151 143.2)
XYZxyz(9.0694, 16.2841, 4.6723)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278128 #812780
analogous
#538127 #278128 #278155
triadic
#278128 #282781 #812827
tetradic
#278128 #275381 #812780 #815527
square
#278128 #275381 #812780 #815527
split-complementary
#278128 #552781 #812753
monochromatic
#0B230B #195219 #278128 #35B037 #56CC58

Accessibility & contrast

On white

4.93
#278128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#278128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278128
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278128#FFFFFF#000000##FFFFFF
##2781281.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751C
Deuteranopia (green-blind)
#796D30
Tritanopia (blue-blind)
#0F7D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #278128;
/* rgb */ color: rgb(39, 129, 40);
/* oklch */ color: oklch(53.1% 0.151 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa666',
    500: '#278128',
    950: '#000000',
  },
}
SCSS
$custom: #278128;
$custom-light: #6fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#278128",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 120.667,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53134,
    "c": 0.15098,
    "h": 143.2
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#278128
secondary
#B153B0
accent
#4BDBDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #278128

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

Preview Lab → · Contrast checker → · Palette generator →

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