#276126#276126

#276126 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.109 H 143.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#276126
RGBrgb(39, 97, 38)
HSLhsl(119, 44%, 26%)
HSVhsv(119, 61%, 38%)
CMYKcmyk(59.8%, 0%, 60.8%, 62%)
CIE-LABlab(36.21, -32.13, 27.63)
CIE-LCHlch(36.21, 42.38, 139.30°)
OKLaboklab(43.93% -0.0874 0.0655)
OKLCHoklch(43.93% 0.109 143.2)
XYZxyz(5.4610, 9.1202, 3.3059)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276126 #602661
analogous
#456126 #276126 #266143
triadic
#276126 #262761 #612627
tetradic
#276126 #264561 #602661 #614326
square
#276126 #264561 #602661 #614326
split-complementary
#276126 #432661 #612645
monochromatic
#091609 #153515 #276126 #398D37 #4BB84A

Accessibility & contrast

On white

7.44
#276126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#276126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #276126
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276126#FFFFFF#000000##FFFFFF
##2761261.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635820
Deuteranopia (green-blind)
#5C532B
Tritanopia (blue-blind)
#1E5E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #276126;
/* rgb */ color: rgb(39, 97, 38);
/* oklch */ color: oklch(43.9% 0.109 143.2);
Tailwind
colors: {
  custom: {
    50: '#688e62',
    500: '#276126',
    950: '#000000',
  },
}
SCSS
$custom: #276126;
$custom-light: #688e62;
$custom-dark: #000000;
JSON
{
  "hex": "#276126",
  "rgb": {
    "r": 39,
    "g": 97,
    "b": 38
  },
  "hsl": {
    "h": 118.983,
    "s": 43.704,
    "l": 26.471
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.10916,
    "h": 143.2
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#276126
secondary
#934F94
accent
#54D3D1
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #276126

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

Preview Lab → · Contrast checker → · Palette generator →

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