#278F1B#278F1B

#278F1B is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.176 H 141.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#278F1B
RGBrgb(39, 143, 27)
HSLhsl(114, 68%, 33%)
HSVhsv(114, 81%, 56%)
CMYKcmyk(72.7%, 0%, 81.1%, 43.9%)
CIE-LABlab(52.01, -50.55, 48.86)
CIE-LCHlch(52.01, 70.31, 135.97°)
OKLaboklab(56.97% -0.1378 0.1088)
OKLCHoklch(56.97% 0.176 141.7)
XYZxyz(10.8564, 20.1542, 4.3547)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F1B #831B8F
analogous
#618F1B #278F1B #1B8F49
triadic
#278F1B #1B278F #8F1B27
tetradic
#278F1B #1B618F #831B8F #8F491B
square
#278F1B #1B618F #831B8F #8F491B
split-complementary
#278F1B #491B8F #8F1B61
monochromatic
#0B2808 #195C11 #278F1B #35C225 #57DC48

Accessibility & contrast

On white

4.17
#278F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#278F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F1B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F1B#FFFFFF#000000##000000
##278F1B1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#088A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f1b;
/* rgb */ color: rgb(39, 143, 27);
/* oklch */ color: oklch(57.0% 0.176 141.7);
Tailwind
colors: {
  custom: {
    50: '#72b162',
    500: '#278f1b',
    950: '#000000',
  },
}
SCSS
$custom: #278f1b;
$custom-light: #72b162;
$custom-dark: #000000;
JSON
{
  "hex": "#278f1b",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 113.793,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56975,
    "c": 0.17562,
    "h": 141.7
  },
  "luminance": 0.20155
}

Semantic roles & 50–950 ramp

primary
#278F1B
secondary
#B248BE
accent
#3DEBD9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #278F1B

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

Preview Lab → · Contrast checker → · Palette generator →

#278F1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva