#278F23#278F23

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

Color values

HEX#278F23
RGBrgb(39, 143, 35)
HSLhsl(118, 61%, 35%)
HSVhsv(118, 76%, 56%)
CMYKcmyk(72.7%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.06, -49.98, 46.15)
CIE-LCHlch(52.06, 68.03, 137.28°)
OKLaboklab(57.03% -0.1359 0.1043)
OKLCHoklch(57.03% 0.171 142.5)
XYZxyz(10.9619, 20.1964, 4.9104)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278F23 #8B238F
analogous
#5D8F23 #278F23 #238F55
triadic
#278F23 #23278F #8F2327
tetradic
#278F23 #235D8F #8B238F #8F5523
square
#278F23 #235D8F #8B238F #8F5523
split-complementary
#278F23 #55238F #8F235D
monochromatic
#0C2D0B #1A5E17 #278F23 #34C02F #5BD657

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278F23#FFFFFF#000000##000000
##278F231.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)
#92810E
Deuteranopia (green-blind)
#86792E
Tritanopia (blue-blind)
#058B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #278f23;
/* rgb */ color: rgb(39, 143, 35);
/* oklch */ color: oklch(57.0% 0.171 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b165',
    500: '#278f23',
    950: '#000000',
  },
}
SCSS
$custom: #278f23;
$custom-light: #72b165;
$custom-dark: #000000;
JSON
{
  "hex": "#278f23",
  "rgb": {
    "r": 39,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 117.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.17129,
    "h": 142.5
  },
  "luminance": 0.20198
}

Semantic roles & 50–950 ramp

primary
#278F23
secondary
#B654BA
accent
#44E4DE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278F23

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

Preview Lab → · Contrast checker → · Palette generator →

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