#278C1B#278C1B

#278C1B is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.172 H 141.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#278C1B
RGBrgb(39, 140, 27)
HSLhsl(114, 68%, 33%)
HSVhsv(114, 81%, 55%)
CMYKcmyk(72.1%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.00, -49.54, 47.90)
CIE-LCHlch(51.00, 68.91, 135.96°)
OKLaboklab(56.13% -0.1351 0.1068)
OKLCHoklch(56.13% 0.172 141.7)
XYZxyz(10.4120, 19.2655, 4.2066)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278C1B #801B8C
analogous
#608C1B #278C1B #1B8C47
triadic
#278C1B #1B278C #8C1B27
tetradic
#278C1B #1B608C #801B8C #8C471B
square
#278C1B #1B608C #801B8C #8C471B
split-complementary
#278C1B #471B8C #8C1B60
monochromatic
#0A2507 #195911 #278C1B #35BF25 #56DB46

Accessibility & contrast

On white

4.33
#278C1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#278C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278C1B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278C1B#FFFFFF#000000##000000
##278C1B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#0B8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278c1b;
/* rgb */ color: rgb(39, 140, 27);
/* oklch */ color: oklch(56.1% 0.172 141.7);
Tailwind
colors: {
  custom: {
    50: '#72af61',
    500: '#278c1b',
    950: '#000000',
  },
}
SCSS
$custom: #278c1b;
$custom-light: #72af61;
$custom-dark: #000000;
JSON
{
  "hex": "#278c1b",
  "rgb": {
    "r": 39,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 113.628,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56132,
    "c": 0.17221,
    "h": 141.7
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#278C1B
secondary
#B046BD
accent
#3DEBD8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #278C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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