#278945#278945

#278945 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.136 H 149.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#278945
RGBrgb(39, 137, 69)
HSLhsl(138, 56%, 35%)
HSVhsv(138, 72%, 54%)
CMYKcmyk(71.5%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.39, -43.59, 28.41)
CIE-LCHlch(50.39, 52.03, 146.91°)
OKLaboklab(55.77% -0.1174 0.0692)
OKLCHoklch(55.77% 0.136 149.5)
XYZxyz(10.8557, 18.7511, 8.6763)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278945 #89276B
analogous
#3A8927 #278945 #278976
triadic
#278945 #452789 #894527
tetradic
#278945 #273A89 #89276B #897627
square
#278945 #273A89 #89276B #897627
split-complementary
#278945 #762789 #89273A
monochromatic
#0C2A15 #19592D #278945 #35B95D #5AD07E

Accessibility & contrast

On white

4.42
#278945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#278945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278945
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278945#FFFFFF#000000##000000
##2789451.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D40
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #278945;
/* rgb */ color: rgb(39, 137, 69);
/* oklch */ color: oklch(55.8% 0.136 149.5);
Tailwind
colors: {
  custom: {
    50: '#6fac7a',
    500: '#278945',
    950: '#000000',
  },
}
SCSS
$custom: #278945;
$custom-light: #6fac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#278945",
  "rgb": {
    "r": 39,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 138.367,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.13627,
    "h": 149.5
  },
  "luminance": 0.18752
}

Semantic roles & 50–950 ramp

primary
#278945
secondary
#B55798
accent
#49B1DF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #278945

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

Preview Lab → · Contrast checker → · Palette generator →

#278945 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva