#296811#296811

#296811 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.133 H 139.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#296811
RGBrgb(41, 104, 17)
HSLhsl(103, 72%, 24%)
HSVhsv(103, 84%, 41%)
CMYKcmyk(60.6%, 0%, 83.7%, 59.2%)
CIE-LABlab(38.57, -36.52, 39.41)
CIE-LCHlch(38.57, 53.73, 132.82°)
OKLaboklab(45.84% -0.1007 0.0876)
OKLCHoklch(45.84% 0.133 139)
XYZxyz(5.9657, 10.4120, 2.2255)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296811 #501168
analogous
#546811 #296811 #116824
triadic
#296811 #112968 #681129
tetradic
#296811 #115468 #501168 #682411
square
#296811 #115468 #501168 #682411
split-complementary
#296811 #241168 #681154
monochromatic
#0A1A04 #143308 #296811 #3E9D1A #52D122

Accessibility & contrast

On white

6.81
#296811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#296811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296811
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296811#FFFFFF#000000##FFFFFF
##2968111.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591B
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296811;
/* rgb */ color: rgb(41, 104, 17);
/* oklch */ color: oklch(45.8% 0.133 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b9457',
    500: '#296811',
    950: '#000000',
  },
}
SCSS
$custom: #296811;
$custom-light: #6b9457;
$custom-dark: #000000;
JSON
{
  "hex": "#296811",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 103.448,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.13342,
    "h": 139
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#296811
secondary
#8235A0
accent
#39EFBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #296811

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

Preview Lab → · Contrast checker → · Palette generator →

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