#278229#278229

#278229 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.151 H 143.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#278229
RGBrgb(39, 130, 41)
HSLhsl(121, 54%, 33%)
HSVhsv(121, 70%, 51%)
CMYKcmyk(70%, 0%, 68.5%, 49%)
CIE-LABlab(47.70, -44.82, 39.13)
CIE-LCHlch(47.70, 59.50, 138.87°)
OKLaboklab(53.43% -0.1216 0.0904)
OKLCHoklch(53.43% 0.151 143.4)
XYZxyz(9.2190, 16.5557, 4.8071)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278229 #822780
analogous
#528227 #278229 #278256
triadic
#278229 #292782 #822927
tetradic
#278229 #275282 #822780 #825627
square
#278229 #275282 #822780 #825627
split-complementary
#278229 #562782 #822752
monochromatic
#0B240B #19531A #278229 #35B138 #57CD59

Accessibility & contrast

On white

4.87
#278229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#278229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278229
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278229#FFFFFF#000000##FFFFFF
##2782291.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#0E7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #278229;
/* rgb */ color: rgb(39, 130, 41);
/* oklch */ color: oklch(53.4% 0.151 143.4);
Tailwind
colors: {
  custom: {
    50: '#6fa767',
    500: '#278229',
    950: '#000000',
  },
}
SCSS
$custom: #278229;
$custom-light: #6fa767;
$custom-dark: #000000;
JSON
{
  "hex": "#278229",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 121.319,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.15149,
    "h": 143.4
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#278229
secondary
#B153AF
accent
#4BDADD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #278229

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

Preview Lab → · Contrast checker → · Palette generator →

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