#296712#296712

#296712 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.132 H 139.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#296712
RGBrgb(41, 103, 18)
HSLhsl(104, 70%, 24%)
HSVhsv(104, 83%, 40%)
CMYKcmyk(60.2%, 0%, 82.5%, 59.6%)
CIE-LABlab(38.23, -36.05, 38.74)
CIE-LCHlch(38.23, 52.92, 132.94°)
OKLaboklab(45.56% -0.0994 0.0863)
OKLCHoklch(45.56% 0.132 139)
XYZxyz(5.8736, 10.2151, 2.2343)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296712 #501267
analogous
#536712 #296712 #126725
triadic
#296712 #122967 #671229
tetradic
#296712 #125367 #501267 #672512
square
#296712 #125367 #501267 #672512
split-complementary
#296712 #251267 #671253
monochromatic
#0A1A05 #143309 #296712 #3E9B1B #52CF24

Accessibility & contrast

On white

6.90
#296712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#296712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296712
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296712#FFFFFF#000000##FFFFFF
##2967121.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#226357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #296712;
/* rgb */ color: rgb(41, 103, 18);
/* oklch */ color: oklch(45.6% 0.132 139.0);
Tailwind
colors: {
  custom: {
    50: '#6b9358',
    500: '#296712',
    950: '#000000',
  },
}
SCSS
$custom: #296712;
$custom-light: #6b9358;
$custom-dark: #000000;
JSON
{
  "hex": "#296712",
  "rgb": {
    "r": 41,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 103.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45555,
    "c": 0.13162,
    "h": 139
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#296712
secondary
#82369F
accent
#3BEDBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #296712

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

Preview Lab → · Contrast checker → · Palette generator →

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