#276F23#276F23

#276F23 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.131 H 142.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#276F23
RGBrgb(39, 111, 35)
HSLhsl(117, 52%, 29%)
HSVhsv(117, 68%, 44%)
CMYKcmyk(64.9%, 0%, 68.5%, 56.5%)
CIE-LABlab(41.09, -38.27, 34.65)
CIE-LCHlch(41.09, 51.62, 137.84°)
OKLaboklab(47.94% -0.1042 0.0802)
OKLCHoklch(47.94% 0.131 142.4)
XYZxyz(6.8241, 11.9209, 3.5311)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276F23 #6B236F
analogous
#4D6F23 #276F23 #236F45
triadic
#276F23 #23276F #6F2327
tetradic
#276F23 #234D6F #6B236F #6F4523
square
#276F23 #234D6F #6B236F #6F4523
split-complementary
#276F23 #45236F #6F234D
monochromatic
#081707 #174014 #276F23 #379E32 #4EC547

Accessibility & contrast

On white

6.20
#276F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#276F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #276F23
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276F23#FFFFFF#000000##FFFFFF
##276F231.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#695F2A
Tritanopia (blue-blind)
#1A6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #276f23;
/* rgb */ color: rgb(39, 111, 35);
/* oklch */ color: oklch(47.9% 0.131 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9962',
    500: '#276f23',
    950: '#000000',
  },
}
SCSS
$custom: #276f23;
$custom-light: #6b9962;
$custom-dark: #000000;
JSON
{
  "hex": "#276f23",
  "rgb": {
    "r": 39,
    "g": 111,
    "b": 35
  },
  "hsl": {
    "h": 116.842,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.13145,
    "h": 142.4
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#276F23
secondary
#9E4CA2
accent
#4CDBD4
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #276F23

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

Preview Lab → · Contrast checker → · Palette generator →

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