#278122#278122

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

Color values

HEX#278122
RGBrgb(39, 129, 34)
HSLhsl(117, 58%, 32%)
HSVhsv(117, 74%, 51%)
CMYKcmyk(69.8%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.30, -45.14, 41.68)
CIE-LCHlch(47.30, 61.44, 137.28°)
OKLaboklab(53.08% -0.1228 0.0948)
OKLCHoklch(53.08% 0.155 142.3)
XYZxyz(8.9752, 16.2464, 4.1759)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278122 #7C2281
analogous
#578122 #278122 #22814D
triadic
#278122 #222781 #812227
tetradic
#278122 #225781 #7C2281 #814D22
square
#278122 #225781 #7C2281 #814D22
split-complementary
#278122 #4D2281 #812257
monochromatic
#0A2008 #185115 #278122 #36B12F #54D04D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##278122#FFFFFF#000000##FFFFFF
##2781221.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)
#847512
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#117D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #278122;
/* rgb */ color: rgb(39, 129, 34);
/* oklch */ color: oklch(53.1% 0.155 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#278122',
    950: '#000000',
  },
}
SCSS
$custom: #278122;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#278122",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 116.842,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.15519,
    "h": 142.3
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#278122
secondary
#AE4BB3
accent
#46E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #278122

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

Preview Lab → · Contrast checker → · Palette generator →

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