#276C23#276C23

#276C23 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.127 H 142.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#276C23
RGBrgb(39, 108, 35)
HSLhsl(117, 51%, 28%)
HSVhsv(117, 68%, 42%)
CMYKcmyk(63.9%, 0%, 67.6%, 57.6%)
CIE-LABlab(40.04, -37.07, 33.50)
CIE-LCHlch(40.04, 49.97, 137.90°)
OKLaboklab(47.08% -0.1009 0.0777)
OKLCHoklch(47.08% 0.127 142.4)
XYZxyz(6.5023, 11.2772, 3.4238)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276C23 #68236C
analogous
#4B6C23 #276C23 #236C43
triadic
#276C23 #23276C #6C2327
tetradic
#276C23 #234B6C #68236C #6C4323
square
#276C23 #234B6C #68236C #6C4323
split-complementary
#276C23 #43236C #6C234B
monochromatic
#081707 #163E14 #276C23 #389A32 #4DC346

Accessibility & contrast

On white

6.45
#276C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#276C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276C23
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276C23#FFFFFF#000000##FFFFFF
##276C231.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#1B695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #276c23;
/* rgb */ color: rgb(39, 108, 35);
/* oklch */ color: oklch(47.1% 0.127 142.4);
Tailwind
colors: {
  custom: {
    50: '#6a9761',
    500: '#276c23',
    950: '#000000',
  },
}
SCSS
$custom: #276c23;
$custom-light: #6a9761;
$custom-dark: #000000;
JSON
{
  "hex": "#276c23",
  "rgb": {
    "r": 39,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 116.712,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4708,
    "c": 0.1274,
    "h": 142.4
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#276C23
secondary
#9B4B9F
accent
#4DDBD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #276C23

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

Preview Lab → · Contrast checker → · Palette generator →

#276C23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva