#296815#296815

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

Color values

HEX#296815
RGBrgb(41, 104, 21)
HSLhsl(106, 66%, 25%)
HSVhsv(106, 80%, 41%)
CMYKcmyk(60.6%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.60, -36.24, 38.01)
CIE-LCHlch(38.60, 52.52, 133.63°)
OKLaboklab(45.87% -0.0997 0.0853)
OKLCHoklch(45.87% 0.131 139.5)
XYZxyz(5.9999, 10.4257, 2.4055)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296815 #541568
analogous
#536815 #296815 #15682B
triadic
#296815 #152968 #681529
tetradic
#296815 #155368 #541568 #682B15
square
#296815 #155368 #541568 #682B15
split-complementary
#296815 #2B1568 #681553
monochromatic
#0A1905 #15350B #296815 #3D9B1F #51CE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296815#FFFFFF#000000##FFFFFF
##2968151.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #296815;
/* rgb */ color: rgb(41, 104, 21);
/* oklch */ color: oklch(45.9% 0.131 139.5);
Tailwind
colors: {
  custom: {
    50: '#6b9459',
    500: '#296815',
    950: '#000000',
  },
}
SCSS
$custom: #296815;
$custom-light: #6b9459;
$custom-dark: #000000;
JSON
{
  "hex": "#296815",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 105.542,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45867,
    "c": 0.13118,
    "h": 139.5
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#296815
secondary
#873A9F
accent
#3EE9C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296815

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

Preview Lab → · Contrast checker → · Palette generator →

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