#278E23#278E23

#278E23 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.170 H 142.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#278E23
RGBrgb(39, 142, 35)
HSLhsl(118, 60%, 35%)
HSVhsv(118, 75%, 56%)
CMYKcmyk(72.5%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.72, -49.63, 45.81)
CIE-LCHlch(51.72, 67.54, 137.29°)
OKLaboklab(56.75% -0.1349 0.1036)
OKLCHoklch(56.75% 0.17 142.5)
XYZxyz(10.8124, 19.8975, 4.8606)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278E23 #8A238E
analogous
#5D8E23 #278E23 #238E55
triadic
#278E23 #23278E #8E2327
tetradic
#278E23 #235D8E #8A238E #8E5523
square
#278E23 #235D8E #8A238E #8E5523
split-complementary
#278E23 #55238E #8E235D
monochromatic
#0C2C0B #1A5D17 #278E23 #34BF2F #5BD556

Accessibility & contrast

On white

4.22
#278E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#278E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278E23
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278E23#FFFFFF#000000##000000
##278E231.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#85782E
Tritanopia (blue-blind)
#068A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #278e23;
/* rgb */ color: rgb(39, 142, 35);
/* oklch */ color: oklch(56.7% 0.170 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b065',
    500: '#278e23',
    950: '#000000',
  },
}
SCSS
$custom: #278e23;
$custom-light: #72b065;
$custom-dark: #000000;
JSON
{
  "hex": "#278e23",
  "rgb": {
    "r": 39,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 117.757,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.17012,
    "h": 142.5
  },
  "luminance": 0.19899
}

Semantic roles & 50–950 ramp

primary
#278E23
secondary
#B653B9
accent
#44E4DE
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #278E23

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

Preview Lab → · Contrast checker → · Palette generator →

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