#276311#276311

#276311 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.3% C 0.128 H 139.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#276311
RGBrgb(39, 99, 17)
HSLhsl(104, 71%, 23%)
HSVhsv(104, 83%, 39%)
CMYKcmyk(60.6%, 0%, 82.8%, 61.2%)
CIE-LABlab(36.73, -35.09, 37.64)
CIE-LCHlch(36.73, 51.46, 133.00°)
OKLaboklab(44.3% -0.0967 0.0839)
OKLCHoklch(44.3% 0.128 139.1)
XYZxyz(5.3995, 9.3950, 2.0591)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276311 #4D1163
analogous
#506311 #276311 #116324
triadic
#276311 #112763 #631127
tetradic
#276311 #115063 #4D1163 #632411
square
#276311 #115063 #4D1163 #632411
split-complementary
#276311 #241163 #631150
monochromatic
#0A1A04 #122F08 #276311 #3C971A #50CB23

Accessibility & contrast

On white

7.29
#276311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#276311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276311
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276311#FFFFFF#000000##FFFFFF
##2763111.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#215F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #276311;
/* rgb */ color: rgb(39, 99, 17);
/* oklch */ color: oklch(44.3% 0.128 139.1);
Tailwind
colors: {
  custom: {
    50: '#699056',
    500: '#276311',
    950: '#000000',
  },
}
SCSS
$custom: #276311;
$custom-light: #699056;
$custom-dark: #000000;
JSON
{
  "hex": "#276311",
  "rgb": {
    "r": 39,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 103.902,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44301,
    "c": 0.12802,
    "h": 139.1
  },
  "luminance": 0.09395
}

Semantic roles & 50–950 ramp

primary
#276311
secondary
#80349B
accent
#3AEDBD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #276311

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

Preview Lab → · Contrast checker → · Palette generator →

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