#278142#278142

#278142 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.128 H 149.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#278142
RGBrgb(39, 129, 66)
HSLhsl(138, 54%, 33%)
HSVhsv(138, 70%, 51%)
CMYKcmyk(69.8%, 0%, 48.8%, 49.4%)
CIE-LABlab(47.65, -40.96, 26.57)
CIE-LCHlch(47.65, 48.82, 147.03°)
OKLaboklab(53.49% -0.1104 0.0649)
OKLCHoklch(53.49% 0.128 149.6)
XYZxyz(9.6696, 16.5242, 7.8331)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278142 #812766
analogous
#398127 #278142 #27816F
triadic
#278142 #422781 #814227
tetradic
#278142 #273981 #812766 #816F27
square
#278142 #273981 #812766 #816F27
split-complementary
#278142 #6F2781 #812739
monochromatic
#0B2312 #19522A #278142 #35B05A #56CC7A

Accessibility & contrast

On white

4.88
#278142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #278142
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278142#FFFFFF#000000##FFFFFF
##2781421.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278142;
/* rgb */ color: rgb(39, 129, 66);
/* oklch */ color: oklch(53.5% 0.128 149.6);
Tailwind
colors: {
  custom: {
    50: '#6da677',
    500: '#278142',
    950: '#000000',
  },
}
SCSS
$custom: #278142;
$custom-light: #6da677;
$custom-dark: #000000;
JSON
{
  "hex": "#278142",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 66
  },
  "hsl": {
    "h": 138,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.12805,
    "h": 149.6
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#278142
secondary
#B15395
accent
#4BB1DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #278142

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

Preview Lab → · Contrast checker → · Palette generator →

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