#276312#276312

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

Color values

HEX#276312
RGBrgb(39, 99, 18)
HSLhsl(104, 69%, 23%)
HSVhsv(104, 82%, 39%)
CMYKcmyk(60.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.74, -35.02, 37.29)
CIE-LCHlch(36.74, 51.15, 133.21°)
OKLaboklab(44.31% -0.0965 0.0833)
OKLCHoklch(44.31% 0.127 139.2)
XYZxyz(5.4075, 9.3982, 2.1012)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276312 #4E1263
analogous
#506312 #276312 #126325
triadic
#276312 #122763 #631227
tetradic
#276312 #125063 #4E1263 #632512
square
#276312 #125063 #4E1263 #632512
split-complementary
#276312 #251263 #631250
monochromatic
#0A1A05 #132F09 #276312 #3B971B #50CB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##276312#FFFFFF#000000##FFFFFF
##2763121.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)
#665901
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#205F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #276312;
/* rgb */ color: rgb(39, 99, 18);
/* oklch */ color: oklch(44.3% 0.127 139.2);
Tailwind
colors: {
  custom: {
    50: '#699057',
    500: '#276312',
    950: '#000000',
  },
}
SCSS
$custom: #276312;
$custom-light: #699057;
$custom-dark: #000000;
JSON
{
  "hex": "#276312",
  "rgb": {
    "r": 39,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 104.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.12745,
    "h": 139.2
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#276312
secondary
#81369B
accent
#3CECBE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #276312

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

Preview Lab → · Contrast checker → · Palette generator →

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