#277E12#277E12

#277E12 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.160 H 140.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#277E12
RGBrgb(39, 126, 18)
HSLhsl(108, 75%, 28%)
HSVhsv(108, 86%, 49%)
CMYKcmyk(69%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.17, -45.21, 46.12)
CIE-LCHlch(46.17, 64.58, 134.43°)
OKLaboklab(52.12% -0.1238 0.1018)
OKLCHoklch(52.12% 0.16 140.6)
XYZxyz(8.4063, 15.3959, 3.1008)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#277E12 #69127E
analogous
#5D7E12 #277E12 #127E33
triadic
#277E12 #12277E #7E1227
tetradic
#277E12 #125D7E #69127E #7E3312
square
#277E12 #125D7E #69127E #7E3312
split-complementary
#277E12 #33127E #7E125D
monochromatic
#081B04 #16480A #277E12 #38B41A #4DE12A

Accessibility & contrast

On white

5.15
#277E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#277E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #277E12
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##277E12#FFFFFF#000000##FFFFFF
##277E121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#776B20
Tritanopia (blue-blind)
#177A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #277e12;
/* rgb */ color: rgb(39, 126, 18);
/* oklch */ color: oklch(52.1% 0.160 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa45b',
    500: '#277e12',
    950: '#000000',
  },
}
SCSS
$custom: #277e12;
$custom-light: #6fa45b;
$custom-dark: #000000;
JSON
{
  "hex": "#277e12",
  "rgb": {
    "r": 39,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 108.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.16031,
    "h": 140.6
  },
  "luminance": 0.15397
}

Semantic roles & 50–950 ramp

primary
#277E12
secondary
#9C38B4
accent
#36F2CD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #277E12

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

Preview Lab → · Contrast checker → · Palette generator →

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