#276231#276231

#276231 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.100 H 147.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#276231
RGBrgb(39, 98, 49)
HSLhsl(130, 43%, 27%)
HSVhsv(130, 60%, 38%)
CMYKcmyk(60.2%, 0%, 50%, 61.6%)
CIE-LABlab(36.72, -30.87, 22.19)
CIE-LCHlch(36.72, 38.02, 144.28°)
OKLaboklab(44.4% -0.0836 0.0541)
OKLCHoklch(44.4% 0.1 147.1)
XYZxyz(5.7584, 9.3879, 4.4137)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#276231 #622758
analogous
#3B6227 #276231 #27624F
triadic
#276231 #312762 #623127
tetradic
#276231 #273B62 #622758 #624F27
square
#276231 #273B62 #622758 #624F27
split-complementary
#276231 #4F2762 #62273B
monochromatic
#09160B #16361B #276231 #388E47 #4CB85E

Accessibility & contrast

On white

7.30
#276231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #276231
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##276231#FFFFFF#000000##FFFFFF
##2762311.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2D
Deuteranopia (green-blind)
#5B5434
Tritanopia (blue-blind)
#1A6056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #276231;
/* rgb */ color: rgb(39, 98, 49);
/* oklch */ color: oklch(44.4% 0.100 147.1);
Tailwind
colors: {
  custom: {
    50: '#678f6a',
    500: '#276231',
    950: '#000000',
  },
}
SCSS
$custom: #276231;
$custom-light: #678f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#276231",
  "rgb": {
    "r": 39,
    "g": 98,
    "b": 49
  },
  "hsl": {
    "h": 130.169,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.444,
    "c": 0.09957,
    "h": 147.1
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#276231
secondary
#955089
accent
#55BDD3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #276231

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

Preview Lab → · Contrast checker → · Palette generator →

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