#278138#278138

#278138 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.138 H 146.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#278138
RGBrgb(39, 129, 56)
HSLhsl(131, 54%, 33%)
HSVhsv(131, 70%, 51%)
CMYKcmyk(69.8%, 0%, 56.6%, 49.4%)
CIE-LABlab(47.52, -42.55, 31.69)
CIE-LCHlch(47.52, 53.06, 143.32°)
OKLaboklab(53.33% -0.1148 0.0758)
OKLCHoklch(53.33% 0.138 146.6)
XYZxyz(9.4001, 16.4164, 6.4139)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278138 #812770
analogous
#438127 #278138 #278165
triadic
#278138 #382781 #813827
tetradic
#278138 #274381 #812770 #816527
square
#278138 #274381 #812770 #816527
split-complementary
#278138 #652781 #812743
monochromatic
#0B230F #195224 #278138 #35B04C #56CC6D

Accessibility & contrast

On white

4.90
#278138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#278138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278138
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278138#FFFFFF#000000##FFFFFF
##2781381.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#057E71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278138;
/* rgb */ color: rgb(39, 129, 56);
/* oklch */ color: oklch(53.3% 0.138 146.6);
Tailwind
colors: {
  custom: {
    50: '#6ea671',
    500: '#278138',
    950: '#000000',
  },
}
SCSS
$custom: #278138;
$custom-light: #6ea671;
$custom-dark: #000000;
JSON
{
  "hex": "#278138",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 131.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.13757,
    "h": 146.6
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#278138
secondary
#B1539F
accent
#4BC1DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #278138

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

Preview Lab → · Contrast checker → · Palette generator →

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