#277331#277331

#277331 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.125 H 145.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#277331
RGBrgb(39, 115, 49)
HSLhsl(128, 49%, 30%)
HSVhsv(128, 66%, 45%)
CMYKcmyk(66.1%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.63, -38.07, 29.46)
CIE-LCHlch(42.63, 48.14, 142.26°)
OKLaboklab(49.27% -0.1029 0.0704)
OKLCHoklch(49.27% 0.125 145.6)
XYZxyz(7.5213, 12.9138, 5.0014)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277331 #732769
analogous
#437327 #277331 #277357
triadic
#277331 #312773 #733127
tetradic
#277331 #274373 #732769 #735727
square
#277331 #274373 #732769 #735727
split-complementary
#277331 #572773 #732743
monochromatic
#08180A #18451E #277331 #36A144 #51C460

Accessibility & contrast

On white

5.86
#277331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#277331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277331
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277331#FFFFFF#000000##FFFFFF
##2773311.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#147064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #277331;
/* rgb */ color: rgb(39, 115, 49);
/* oklch */ color: oklch(49.3% 0.125 145.6);
Tailwind
colors: {
  custom: {
    50: '#6b9c6b',
    500: '#277331',
    950: '#000000',
  },
}
SCSS
$custom: #277331;
$custom-light: #6b9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#277331",
  "rgb": {
    "r": 39,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 127.895,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49269,
    "c": 0.1247,
    "h": 145.6
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#277331
secondary
#A5509A
accent
#4FC7D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #277331

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

Preview Lab → · Contrast checker → · Palette generator →

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