#296012#296012

#296012 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.123 H 138.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#296012
RGBrgb(41, 96, 18)
HSLhsl(102, 68%, 22%)
HSVhsv(102, 81%, 38%)
CMYKcmyk(57.3%, 0%, 81.3%, 62.4%)
CIE-LABlab(35.75, -33.18, 36.35)
CIE-LCHlch(35.75, 49.22, 132.39°)
OKLaboklab(43.52% -0.0916 0.0813)
OKLCHoklch(43.52% 0.123 138.4)
XYZxyz(5.2063, 8.8804, 2.0119)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296012 #491260
analogous
#506012 #296012 #126022
triadic
#296012 #122960 #601229
tetradic
#296012 #125060 #491260 #602212
square
#296012 #125060 #491260 #602212
split-complementary
#296012 #221260 #601250
monochromatic
#0B1A05 #132C08 #296012 #3F941C #55C725

Accessibility & contrast

On white

7.56
#296012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#296012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296012
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296012#FFFFFF#000000##FFFFFF
##2960121.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#245C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #296012;
/* rgb */ color: rgb(41, 96, 18);
/* oklch */ color: oklch(43.5% 0.123 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a8e56',
    500: '#296012',
    950: '#000000',
  },
}
SCSS
$custom: #296012;
$custom-light: #6a8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#296012",
  "rgb": {
    "r": 41,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 102.308,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.12253,
    "h": 138.4
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

primary
#296012
secondary
#7B3698
accent
#3DEBB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #296012

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

Preview Lab → · Contrast checker → · Palette generator →

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