#277D21#277D21

#277D21 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#277D21
RGBrgb(39, 125, 33)
HSLhsl(116, 58%, 31%)
HSVhsv(116, 74%, 49%)
CMYKcmyk(68.8%, 0%, 73.6%, 51%)
CIE-LABlab(45.92, -43.78, 40.66)
CIE-LCHlch(45.92, 59.75, 137.11°)
OKLaboklab(51.93% -0.1192 0.0926)
OKLCHoklch(51.93% 0.151 142.2)
XYZxyz(8.4444, 15.2075, 3.9289)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D21 #77217D
analogous
#557D21 #277D21 #217D49
triadic
#277D21 #21277D #7D2127
tetradic
#277D21 #21557D #77217D #7D4921
square
#277D21 #21557D #77217D #7D4921
split-complementary
#277D21 #49217D #7D2155
monochromatic
#091C07 #184D14 #277D21 #36AD2E #52CF49

Accessibility & contrast

On white

5.20
#277D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#277D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D21
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D21#FFFFFF#000000##FFFFFF
##277D211.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#14796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d21;
/* rgb */ color: rgb(39, 125, 33);
/* oklch */ color: oklch(51.9% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#6ea362',
    500: '#277d21',
    950: '#000000',
  },
}
SCSS
$custom: #277d21;
$custom-light: #6ea362;
$custom-dark: #000000;
JSON
{
  "hex": "#277d21",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 116.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51932,
    "c": 0.15092,
    "h": 142.2
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#277D21
secondary
#A94AB0
accent
#46E1D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #277D21

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

Preview Lab → · Contrast checker → · Palette generator →

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