#277F2D#277F2D

#277F2D is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.144 H 144.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#277F2D
RGBrgb(39, 127, 45)
HSLhsl(124, 53%, 33%)
HSVhsv(124, 69%, 50%)
CMYKcmyk(69.3%, 0%, 64.6%, 50.2%)
CIE-LABlab(46.71, -43.26, 36.20)
CIE-LCHlch(46.71, 56.41, 140.07°)
OKLaboklab(52.62% -0.1172 0.0846)
OKLCHoklch(52.62% 0.145 144.2)
XYZxyz(8.8992, 15.7986, 5.0626)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277F2D #7F2779
analogous
#4D7F27 #277F2D #277F59
triadic
#277F2D #2D277F #7F2D27
tetradic
#277F2D #274D7F #7F2779 #7F5927
square
#277F2D #274D7F #7F2779 #7F5927
split-complementary
#277F2D #59277F #7F274D
monochromatic
#0A210C #19501C #277F2D #35AE3E #55CB5D

Accessibility & contrast

On white

5.05
#277F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#277F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277F2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277F2D#FFFFFF#000000##FFFFFF
##277F2D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#0E7C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #277f2d;
/* rgb */ color: rgb(39, 127, 45);
/* oklch */ color: oklch(52.6% 0.144 144.2);
Tailwind
colors: {
  custom: {
    50: '#6ea569',
    500: '#277f2d',
    950: '#000000',
  },
}
SCSS
$custom: #277f2d;
$custom-light: #6ea569;
$custom-dark: #000000;
JSON
{
  "hex": "#277f2d",
  "rgb": {
    "r": 39,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 124.091,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.1445,
    "h": 144.2
  },
  "luminance": 0.158
}

Semantic roles & 50–950 ramp

primary
#277F2D
secondary
#B052A9
accent
#4BD3DC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #277F2D

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

Preview Lab → · Contrast checker → · Palette generator →

#277F2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva