#277142#277142

#277142 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.105 H 152.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#277142
RGBrgb(39, 113, 66)
HSLhsl(142, 49%, 30%)
HSVhsv(142, 65%, 44%)
CMYKcmyk(65.5%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.21, -34.31, 19.54)
CIE-LCHlch(42.21, 39.48, 150.34°)
OKLaboklab(49% -0.0928 0.0486)
OKLCHoklch(49% 0.105 152.4)
XYZxyz(7.7246, 12.6342, 7.1848)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277142 #712756
analogous
#317127 #277142 #277167
triadic
#277142 #422771 #714227
tetradic
#277142 #273171 #712756 #716727
square
#277142 #273171 #712756 #716727
split-complementary
#277142 #672771 #712731
monochromatic
#08170D #174427 #277142 #379E5D #50C37A

Accessibility & contrast

On white

5.95
#277142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#277142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277142
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277142#FFFFFF#000000##FFFFFF
##2771421.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#0A6F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #277142;
/* rgb */ color: rgb(39, 113, 66);
/* oklch */ color: oklch(49.0% 0.105 152.4);
Tailwind
colors: {
  custom: {
    50: '#6a9a77',
    500: '#277142',
    950: '#000000',
  },
}
SCSS
$custom: #277142;
$custom-light: #6a9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#277142",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 141.892,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.10474,
    "h": 152.4
  },
  "luminance": 0.12635
}

Semantic roles & 50–950 ramp

primary
#277142
secondary
#A35085
accent
#50A6D8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #277142

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

Preview Lab → · Contrast checker → · Palette generator →

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