#278151#278151

#278151 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.8% C 0.113 H 155.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#278151
RGBrgb(39, 129, 81)
HSLhsl(148, 54%, 33%)
HSVhsv(148, 70%, 51%)
CMYKcmyk(69.8%, 0%, 37.2%, 49.4%)
CIE-LABlab(47.91, -38.10, 18.55)
CIE-LCHlch(47.91, 42.37, 154.04°)
OKLaboklab(53.79% -0.1032 0.0466)
OKLCHoklch(53.79% 0.113 155.7)
XYZxyz(10.1712, 16.7248, 10.4752)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278151 #812757
analogous
#2A8127 #278151 #27817E
triadic
#278151 #512781 #815127
tetradic
#278151 #272A81 #812757 #817E27
square
#278151 #272A81 #812757 #817E27
split-complementary
#278151 #7E2781 #81272A
monochromatic
#0B2316 #195233 #278151 #35B06F #56CC8D

Accessibility & contrast

On white

4.83
#278151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#278151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278151
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278151#FFFFFF#000000##FFFFFF
##2781511.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774E
Deuteranopia (green-blind)
#756E54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #278151;
/* rgb */ color: rgb(39, 129, 81);
/* oklch */ color: oklch(53.8% 0.113 155.7);
Tailwind
colors: {
  custom: {
    50: '#6da682',
    500: '#278151',
    950: '#000000',
  },
}
SCSS
$custom: #278151;
$custom-light: #6da682;
$custom-dark: #000000;
JSON
{
  "hex": "#278151",
  "rgb": {
    "r": 39,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 148,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.11318,
    "h": 155.7
  },
  "luminance": 0.16726
}

Semantic roles & 50–950 ramp

primary
#278151
secondary
#B15385
accent
#4B99DD
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #278151

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

Preview Lab → · Contrast checker → · Palette generator →

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