#278F22#278F22

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

Color values

HEX#278F22
RGBrgb(39, 143, 34)
HSLhsl(117, 62%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(72.7%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.05, -50.05, 46.52)
CIE-LCHlch(52.05, 68.33, 137.10°)
OKLaboklab(57.02% -0.1361 0.1049)
OKLCHoklch(57.02% 0.172 142.4)
XYZxyz(10.9473, 20.1905, 4.8333)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F22 #8A228F
analogous
#5D8F22 #278F22 #228F54
triadic
#278F22 #22278F #8F2227
tetradic
#278F22 #225D8F #8A228F #8F5422
square
#278F22 #225D8F #8A228F #8F5422
split-complementary
#278F22 #54228F #8F225D
monochromatic
#0C2C0A #1A5E16 #278F22 #34C02E #5BD755

Accessibility & contrast

On white

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

On black

5.04
#278F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278F22
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278F22#FFFFFF#000000##000000
##278F221.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#058B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f22;
/* rgb */ color: rgb(39, 143, 34);
/* oklch */ color: oklch(57.0% 0.172 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#278f22',
    950: '#000000',
  },
}
SCSS
$custom: #278f22;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#278f22",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 117.248,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57022,
    "c": 0.17189,
    "h": 142.4
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#278F22
secondary
#B652BA
accent
#43E5DD
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278F22

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

Preview Lab → · Contrast checker → · Palette generator →

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