#278028#278028

#278028 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.150 H 143.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#278028
RGBrgb(39, 128, 40)
HSLhsl(121, 53%, 33%)
HSVhsv(121, 70%, 50%)
CMYKcmyk(69.5%, 0%, 68.8%, 49.8%)
CIE-LABlab(47.00, -44.19, 38.83)
CIE-LCHlch(47.00, 58.82, 138.70°)
OKLaboklab(52.85% -0.1199 0.0896)
OKLCHoklch(52.85% 0.15 143.2)
XYZxyz(8.9383, 16.0219, 4.6286)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278028 #80277F
analogous
#528027 #278028 #278054
triadic
#278028 #282780 #802827
tetradic
#278028 #275280 #80277F #805427
square
#278028 #275280 #80277F #805427
split-complementary
#278028 #542780 #802752
monochromatic
#0A220B #195119 #278028 #35AF37 #56CB57

Accessibility & contrast

On white

4.99
#278028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#278028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278028
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278028#FFFFFF#000000##FFFFFF
##2780281.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#107C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #278028;
/* rgb */ color: rgb(39, 128, 40);
/* oklch */ color: oklch(52.9% 0.150 143.2);
Tailwind
colors: {
  custom: {
    50: '#6ea666',
    500: '#278028',
    950: '#000000',
  },
}
SCSS
$custom: #278028;
$custom-light: #6ea666;
$custom-dark: #000000;
JSON
{
  "hex": "#278028",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 120.674,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.14971,
    "h": 143.2
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#278028
secondary
#B053AF
accent
#4BDBDD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #278028

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

Preview Lab → · Contrast checker → · Palette generator →

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