#277229#277229

#277229 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.131 H 143.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#277229
RGBrgb(39, 114, 41)
HSLhsl(122, 49%, 30%)
HSVhsv(122, 66%, 45%)
CMYKcmyk(65.8%, 0%, 64%, 55.3%)
CIE-LABlab(42.19, -38.75, 33.01)
CIE-LCHlch(42.19, 50.90, 139.57°)
OKLaboklab(48.88% -0.1051 0.0774)
OKLCHoklch(48.88% 0.131 143.7)
XYZxyz(7.2538, 12.6253, 4.1521)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277229 #722770
analogous
#4A7227 #277229 #27724F
triadic
#277229 #292772 #722927
tetradic
#277229 #274A72 #722770 #724F27
square
#277229 #274A72 #722770 #724F27
split-complementary
#277229 #4F2772 #72274A
monochromatic
#081708 #174419 #277229 #37A039 #50C353

Accessibility & contrast

On white

5.96
#277229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #277229
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277229#FFFFFF#000000##FFFFFF
##2772291.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#176F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #277229;
/* rgb */ color: rgb(39, 114, 41);
/* oklch */ color: oklch(48.9% 0.131 143.7);
Tailwind
colors: {
  custom: {
    50: '#6b9b66',
    500: '#277229',
    950: '#000000',
  },
}
SCSS
$custom: #277229;
$custom-light: #6b9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#277229",
  "rgb": {
    "r": 39,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 121.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.13053,
    "h": 143.7
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#277229
secondary
#A450A2
accent
#4FD5D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #277229

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

Preview Lab → · Contrast checker → · Palette generator →

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