#278124#278124

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

Color values

HEX#278124
RGBrgb(39, 129, 36)
HSLhsl(118, 56%, 32%)
HSVhsv(118, 72%, 51%)
CMYKcmyk(69.8%, 0%, 72.1%, 49.4%)
CIE-LABlab(47.31, -44.96, 40.88)
CIE-LCHlch(47.31, 60.76, 137.72°)
OKLaboklab(53.1% -0.1222 0.0934)
OKLCHoklch(53.1% 0.154 142.6)
XYZxyz(9.0049, 16.2583, 4.3323)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278124 #7E2481
analogous
#558124 #278124 #248150
triadic
#278124 #242781 #812427
tetradic
#278124 #245581 #7E2481 #815024
square
#278124 #245581 #7E2481 #815024
split-complementary
#278124 #502481 #812455
monochromatic
#0A2109 #195117 #278124 #35B131 #55CE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278124#FFFFFF#000000##FFFFFF
##2781241.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)
#847516
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#117D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #278124;
/* rgb */ color: rgb(39, 129, 36);
/* oklch */ color: oklch(53.1% 0.154 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fa664',
    500: '#278124',
    950: '#000000',
  },
}
SCSS
$custom: #278124;
$custom-light: #6fa664;
$custom-dark: #000000;
JSON
{
  "hex": "#278124",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 118.065,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53095,
    "c": 0.15384,
    "h": 142.6
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#278124
secondary
#AF4EB2
accent
#48E0DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #278124

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

Preview Lab → · Contrast checker → · Palette generator →

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