#278312#278312

#278312 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.5% C 0.166 H 140.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#278312
RGBrgb(39, 131, 18)
HSLhsl(109, 76%, 29%)
HSVhsv(109, 86%, 51%)
CMYKcmyk(70.2%, 0%, 86.3%, 48.6%)
CIE-LABlab(47.89, -46.96, 47.67)
CIE-LCHlch(47.89, 66.92, 134.57°)
OKLaboklab(53.54% -0.1286 0.1051)
OKLCHoklch(53.54% 0.166 140.7)
XYZxyz(9.0617, 16.7067, 3.3193)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278312 #6E1283
analogous
#608312 #278312 #128336
triadic
#278312 #122783 #831227
tetradic
#278312 #126083 #6E1283 #833612
square
#278312 #126083 #6E1283 #833612
split-complementary
#278312 #361283 #831260
monochromatic
#081B04 #174D0B #278312 #37B919 #4FE22D

Accessibility & contrast

On white

4.84
#278312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#278312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278312
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278312#FFFFFF#000000##FFFFFF
##2783121.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F21
Tritanopia (blue-blind)
#147F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #278312;
/* rgb */ color: rgb(39, 131, 18);
/* oklch */ color: oklch(53.5% 0.166 140.7);
Tailwind
colors: {
  custom: {
    50: '#70a85c',
    500: '#278312',
    950: '#000000',
  },
}
SCSS
$custom: #278312;
$custom-light: #70a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#278312",
  "rgb": {
    "r": 39,
    "g": 131,
    "b": 18
  },
  "hsl": {
    "h": 108.85,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.16603,
    "h": 140.7
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#278312
secondary
#A138B8
accent
#35F2CF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #278312

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

Preview Lab → · Contrast checker → · Palette generator →

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