#277D18#277D18

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

Color values

HEX#277D18
RGBrgb(39, 125, 24)
HSLhsl(111, 68%, 29%)
HSVhsv(111, 81%, 49%)
CMYKcmyk(68.8%, 0%, 80.8%, 51%)
CIE-LABlab(45.86, -44.49, 43.97)
CIE-LCHlch(45.86, 62.55, 135.34°)
OKLaboklab(51.86% -0.1216 0.0982)
OKLCHoklch(51.86% 0.156 141.1)
XYZxyz(8.3348, 15.1637, 3.3516)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277D18 #6E187D
analogous
#5A7D18 #277D18 #187D3C
triadic
#277D18 #18277D #7D1827
tetradic
#277D18 #185A7D #6E187D #7D3C18
square
#277D18 #185A7D #6E187D #7D3C18
split-complementary
#277D18 #3C187D #7D185A
monochromatic
#081A05 #174A0E #277D18 #37B022 #4FD937

Accessibility & contrast

On white

5.21
#277D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#277D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277D18
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277D18#FFFFFF#000000##FFFFFF
##277D181.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#16796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277d18;
/* rgb */ color: rgb(39, 125, 24);
/* oklch */ color: oklch(51.9% 0.156 141.1);
Tailwind
colors: {
  custom: {
    50: '#6ea45e',
    500: '#277d18',
    950: '#000000',
  },
}
SCSS
$custom: #277d18;
$custom-light: #6ea45e;
$custom-dark: #000000;
JSON
{
  "hex": "#277d18",
  "rgb": {
    "r": 39,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 111.089,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.1563,
    "h": 141.1
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#277D18
secondary
#A13FB2
accent
#3DEBD1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #277D18

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

Preview Lab → · Contrast checker → · Palette generator →

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