#278231#278231

#278231 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.145 H 144.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#278231
RGBrgb(39, 130, 49)
HSLhsl(127, 54%, 33%)
HSVhsv(127, 70%, 51%)
CMYKcmyk(70%, 0%, 62.3%, 49%)
CIE-LABlab(47.77, -43.89, 35.50)
CIE-LCHlch(47.77, 56.44, 141.03°)
OKLaboklab(53.52% -0.1187 0.0835)
OKLCHoklch(53.52% 0.145 144.9)
XYZxyz(9.3731, 16.6174, 5.6186)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278231 #822778
analogous
#4B8227 #278231 #27825E
triadic
#278231 #312782 #823127
tetradic
#278231 #274B82 #822778 #825E27
square
#278231 #274B82 #822778 #825E27
split-complementary
#278231 #5E2782 #82274B
monochromatic
#0B240E #19531F #278231 #35B143 #57CD64

Accessibility & contrast

On white

4.86
#278231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#278231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278231
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278231#FFFFFF#000000##FFFFFF
##2782311.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847628
Deuteranopia (green-blind)
#796E38
Tritanopia (blue-blind)
#097F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278231;
/* rgb */ color: rgb(39, 130, 49);
/* oklch */ color: oklch(53.5% 0.145 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ea76c',
    500: '#278231',
    950: '#000000',
  },
}
SCSS
$custom: #278231;
$custom-light: #6ea76c;
$custom-dark: #000000;
JSON
{
  "hex": "#278231",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 126.593,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.14509,
    "h": 144.9
  },
  "luminance": 0.16618
}

Semantic roles & 50–950 ramp

primary
#278231
secondary
#B153A7
accent
#4BCDDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #278231

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

Preview Lab → · Contrast checker → · Palette generator →

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