#278022#278022

#278022 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.154 H 142.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#278022
RGBrgb(39, 128, 34)
HSLhsl(117, 58%, 32%)
HSVhsv(117, 73%, 50%)
CMYKcmyk(69.5%, 0%, 73.4%, 49.8%)
CIE-LABlab(46.95, -44.78, 41.33)
CIE-LCHlch(46.95, 60.94, 137.29°)
OKLaboklab(52.79% -0.1219 0.0941)
OKLCHoklch(52.79% 0.154 142.3)
XYZxyz(8.8441, 15.9842, 4.1322)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278022 #7B2280
analogous
#568022 #278022 #22804C
triadic
#278022 #222780 #802227
tetradic
#278022 #225680 #7B2280 #804C22
square
#278022 #225680 #7B2280 #804C22
split-complementary
#278022 #4C2280 #802256
monochromatic
#0A1F08 #185015 #278022 #36B02F #54D04D

Accessibility & contrast

On white

5.00
#278022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #278022
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278022#FFFFFF#000000##FFFFFF
##2780221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#127C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #278022;
/* rgb */ color: rgb(39, 128, 34);
/* oklch */ color: oklch(52.8% 0.154 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#278022',
    950: '#000000',
  },
}
SCSS
$custom: #278022;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#278022",
  "rgb": {
    "r": 39,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 116.809,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.15396,
    "h": 142.3
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#278022
secondary
#AD4BB2
accent
#47E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #278022

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

Preview Lab → · Contrast checker → · Palette generator →

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