#296212#296212

#296212 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.1% C 0.125 H 138.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#296212
RGBrgb(41, 98, 18)
HSLhsl(103, 69%, 23%)
HSVhsv(103, 82%, 38%)
CMYKcmyk(58.2%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.46, -34.02, 37.04)
CIE-LCHlch(36.46, 50.29, 132.56°)
OKLaboklab(44.1% -0.0939 0.0828)
OKLCHoklch(44.1% 0.125 138.6)
XYZxyz(5.3911, 9.2500, 2.0735)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296212 #4B1262
analogous
#516212 #296212 #126223
triadic
#296212 #122962 #621229
tetradic
#296212 #125162 #4B1262 #622312
square
#296212 #125162 #4B1262 #622312
split-complementary
#296212 #231262 #621251
monochromatic
#0B1A05 #132E09 #296212 #3F961B #54C925

Accessibility & contrast

On white

7.37
#296212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#296212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296212
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296212#FFFFFF#000000##FFFFFF
##2962121.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#245E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #296212;
/* rgb */ color: rgb(41, 98, 18);
/* oklch */ color: oklch(44.1% 0.125 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a8f57',
    500: '#296212',
    950: '#000000',
  },
}
SCSS
$custom: #296212;
$custom-light: #6a8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#296212",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 102.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.12516,
    "h": 138.6
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#296212
secondary
#7D369A
accent
#3CECB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #296212

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

Preview Lab → · Contrast checker → · Palette generator →

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