#278B25#278B25

#278B25 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.165 H 142.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#278B25
RGBrgb(39, 139, 37)
HSLhsl(119, 58%, 35%)
HSVhsv(119, 73%, 55%)
CMYKcmyk(71.9%, 0%, 73.4%, 45.5%)
CIE-LABlab(50.72, -48.42, 44.02)
CIE-LCHlch(50.72, 65.44, 137.73°)
OKLaboklab(55.92% -0.1316 0.1001)
OKLCHoklch(55.92% 0.165 142.7)
XYZxyz(10.4026, 19.0290, 4.8746)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278B25 #89258B
analogous
#5A8B25 #278B25 #258B56
triadic
#278B25 #25278B #8B2527
tetradic
#278B25 #255A8B #89258B #8B5625
square
#278B25 #255A8B #89258B #8B5625
split-complementary
#278B25 #56258B #8B255A
monochromatic
#0C2A0B #195B18 #278B25 #35BB32 #5AD358

Accessibility & contrast

On white

4.37
#278B25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#278B25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #278B25
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278B25#FFFFFF#000000##000000
##278B251.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E14
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#088777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #278b25;
/* rgb */ color: rgb(39, 139, 37);
/* oklch */ color: oklch(55.9% 0.165 142.7);
Tailwind
colors: {
  custom: {
    50: '#71ae66',
    500: '#278b25',
    950: '#000000',
  },
}
SCSS
$custom: #278b25;
$custom-light: #71ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#278b25",
  "rgb": {
    "r": 39,
    "g": 139,
    "b": 37
  },
  "hsl": {
    "h": 118.824,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55924,
    "c": 0.16533,
    "h": 142.7
  },
  "luminance": 0.1903
}

Semantic roles & 50–950 ramp

primary
#278B25
secondary
#B555B7
accent
#47E1DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #278B25

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

Preview Lab → · Contrast checker → · Palette generator →

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