#296512#296512

#296512 is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.129 H 138.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#296512
RGBrgb(41, 101, 18)
HSLhsl(103, 70%, 23%)
HSVhsv(103, 82%, 40%)
CMYKcmyk(59.4%, 0%, 82.2%, 60.4%)
CIE-LABlab(37.52, -35.25, 38.06)
CIE-LCHlch(37.52, 51.88, 132.80°)
OKLaboklab(44.97% -0.0972 0.0849)
OKLCHoklch(44.97% 0.129 138.9)
XYZxyz(5.6771, 9.8220, 2.1688)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296512 #4E1265
analogous
#526512 #296512 #126524
triadic
#296512 #122965 #651229
tetradic
#296512 #125265 #4E1265 #652412
square
#296512 #125265 #4E1265 #652412
split-complementary
#296512 #241265 #651252
monochromatic
#0B1A05 #143109 #296512 #3E991B #53CD25

Accessibility & contrast

On white

7.08
#296512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#296512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296512
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296512#FFFFFF#000000##FFFFFF
##2965121.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#61561B
Tritanopia (blue-blind)
#236155
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #296512;
/* rgb */ color: rgb(41, 101, 18);
/* oklch */ color: oklch(45.0% 0.129 138.9);
Tailwind
colors: {
  custom: {
    50: '#6b9157',
    500: '#296512',
    950: '#000000',
  },
}
SCSS
$custom: #296512;
$custom-light: #6b9157;
$custom-dark: #000000;
JSON
{
  "hex": "#296512",
  "rgb": {
    "r": 41,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 103.373,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44973,
    "c": 0.12906,
    "h": 138.9
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#296512
secondary
#80369D
accent
#3BEDBB
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #296512

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

Preview Lab → · Contrast checker → · Palette generator →

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