#278121#278121

#278121 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.156 H 142.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#278121
RGBrgb(39, 129, 33)
HSLhsl(116, 59%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(69.8%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.29, -45.23, 42.08)
CIE-LCHlch(47.29, 61.77, 137.07°)
OKLaboklab(53.07% -0.1231 0.0955)
OKLCHoklch(53.07% 0.156 142.2)
XYZxyz(8.9610, 16.2407, 4.1011)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278121 #7B2181
analogous
#578121 #278121 #21814B
triadic
#278121 #212781 #812127
tetradic
#278121 #215781 #7B2181 #814B21
square
#278121 #215781 #7B2181 #814B21
split-complementary
#278121 #4B2181 #812157
monochromatic
#0A2008 #185015 #278121 #36B22D #54D14B

Accessibility & contrast

On white

4.94
#278121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#278121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278121
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278121#FFFFFF#000000##FFFFFF
##2781211.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847510
Deuteranopia (green-blind)
#7A6D2B
Tritanopia (blue-blind)
#127D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #278121;
/* rgb */ color: rgb(39, 129, 33);
/* oklch */ color: oklch(53.1% 0.156 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#278121',
    950: '#000000',
  },
}
SCSS
$custom: #278121;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#278121",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 116.25,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.15584,
    "h": 142.2
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#278121
secondary
#AD4AB4
accent
#45E2D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #278121

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

Preview Lab → · Contrast checker → · Palette generator →

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