#296816#296816

#296816 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.131 H 139.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#296816
RGBrgb(41, 104, 22)
HSLhsl(106, 65%, 25%)
HSVhsv(106, 79%, 41%)
CMYKcmyk(60.6%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.60, -36.17, 37.64)
CIE-LCHlch(38.60, 52.20, 133.86°)
OKLaboklab(45.87% -0.0994 0.0846)
OKLCHoklch(45.87% 0.131 139.6)
XYZxyz(6.0093, 10.4295, 2.4553)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296816 #551668
analogous
#526816 #296816 #16682C
triadic
#296816 #162968 #681629
tetradic
#296816 #165268 #551668 #682C16
square
#296816 #165268 #551668 #682C16
split-complementary
#296816 #2C1668 #681652
monochromatic
#0A1905 #15350B #296816 #3D9B21 #51CD2B

Accessibility & contrast

On white

6.80
#296816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#296816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296816
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296816#FFFFFF#000000##FFFFFF
##2968161.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #296816;
/* rgb */ color: rgb(41, 104, 22);
/* oklch */ color: oklch(45.9% 0.131 139.6);
Tailwind
colors: {
  custom: {
    50: '#6b945a',
    500: '#296816',
    950: '#000000',
  },
}
SCSS
$custom: #296816;
$custom-light: #6b945a;
$custom-dark: #000000;
JSON
{
  "hex": "#296816",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 106.098,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.13058,
    "h": 139.6
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#296816
secondary
#883B9F
accent
#40E8C1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296816

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

Preview Lab → · Contrast checker → · Palette generator →

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