#278D23#278D23

#278D23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.169 H 142.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#278D23
RGBrgb(39, 141, 35)
HSLhsl(118, 60%, 35%)
HSVhsv(118, 75%, 55%)
CMYKcmyk(72.3%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.38, -49.29, 45.47)
CIE-LCHlch(51.38, 67.06, 137.31°)
OKLaboklab(56.47% -0.134 0.1029)
OKLCHoklch(56.47% 0.169 142.5)
XYZxyz(10.6643, 19.6013, 4.8112)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278D23 #89238D
analogous
#5C8D23 #278D23 #238D54
triadic
#278D23 #23278D #8D2327
tetradic
#278D23 #235C8D #89238D #8D5423
square
#278D23 #235C8D #89238D #8D5423
split-complementary
#278D23 #54238D #8D235C
monochromatic
#0C2B0B #195C17 #278D23 #35BE2F #5AD555

Accessibility & contrast

On white

4.27
#278D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#278D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278D23
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278D23#FFFFFF#000000##000000
##278D231.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#078978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #278d23;
/* rgb */ color: rgb(39, 141, 35);
/* oklch */ color: oklch(56.5% 0.169 142.5);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#278d23',
    950: '#000000',
  },
}
SCSS
$custom: #278d23;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#278d23",
  "rgb": {
    "r": 39,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 117.736,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.16895,
    "h": 142.5
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#278D23
secondary
#B553B9
accent
#44E3DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278D23

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

Preview Lab → · Contrast checker → · Palette generator →

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