#277828#277828

#277828 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.139 H 143.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#277828
RGBrgb(39, 120, 40)
HSLhsl(121, 51%, 31%)
HSVhsv(121, 68%, 47%)
CMYKcmyk(67.5%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.26, -41.19, 35.81)
CIE-LCHlch(44.26, 54.58, 139.00°)
OKLaboklab(50.58% -0.1118 0.0832)
OKLCHoklch(50.58% 0.139 143.3)
XYZxyz(7.9357, 14.0167, 4.2944)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277828 #782777
analogous
#4E7827 #277828 #277850
triadic
#277828 #282778 #782827
tetradic
#277828 #274E78 #782777 #785027
square
#277828 #274E78 #782777 #785027
split-complementary
#277828 #502778 #78274E
monochromatic
#091C09 #184A19 #277828 #36A637 #52C754

Accessibility & contrast

On white

5.52
#277828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#277828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277828
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277828#FFFFFF#000000##FFFFFF
##2778281.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#157567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #277828;
/* rgb */ color: rgb(39, 120, 40);
/* oklch */ color: oklch(50.6% 0.139 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ca066',
    500: '#277828',
    950: '#000000',
  },
}
SCSS
$custom: #277828;
$custom-light: #6ca066;
$custom-dark: #000000;
JSON
{
  "hex": "#277828",
  "rgb": {
    "r": 39,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 120.741,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.13939,
    "h": 143.3
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#277828
secondary
#AA51A9
accent
#4DD9DA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080F06
muted
#7A7E7A

Preview Lab

Preview with #277828

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

Preview Lab → · Contrast checker → · Palette generator →

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