#278528#278528

#278528 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.156 H 143.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#278528
RGBrgb(39, 133, 40)
HSLhsl(121, 55%, 34%)
HSVhsv(121, 71%, 52%)
CMYKcmyk(70.7%, 0%, 69.9%, 47.8%)
CIE-LABlab(48.71, -46.01, 40.66)
CIE-LCHlch(48.71, 61.40, 138.53°)
OKLaboklab(54.26% -0.1249 0.0935)
OKLCHoklch(54.26% 0.156 143.2)
XYZxyz(9.6067, 17.3586, 4.8513)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278528 #852784
analogous
#558527 #278528 #278557
triadic
#278528 #282785 #852827
tetradic
#278528 #275585 #852784 #855727
square
#278528 #275585 #852784 #855727
split-complementary
#278528 #572785 #852755
monochromatic
#0B260C #19561A #278528 #35B436 #58CE5A

Accessibility & contrast

On white

4.70
#278528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#278528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278528
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278528#FFFFFF#000000##FFFFFF
##2785281.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#7D7131
Tritanopia (blue-blind)
#0C8172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #278528;
/* rgb */ color: rgb(39, 133, 40);
/* oklch */ color: oklch(54.3% 0.156 143.2);
Tailwind
colors: {
  custom: {
    50: '#6fa967',
    500: '#278528',
    950: '#000000',
  },
}
SCSS
$custom: #278528;
$custom-light: #6fa967;
$custom-dark: #000000;
JSON
{
  "hex": "#278528",
  "rgb": {
    "r": 39,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 120.638,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.15598,
    "h": 143.2
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#278528
secondary
#B355B2
accent
#4ADCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278528

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

Preview Lab → · Contrast checker → · Palette generator →

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