#296311#296311

#296311 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.127 H 138.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#296311
RGBrgb(41, 99, 17)
HSLhsl(102, 71%, 23%)
HSVhsv(102, 83%, 39%)
CMYKcmyk(58.6%, 0%, 82.8%, 61.2%)
CIE-LABlab(36.81, -34.50, 37.73)
CIE-LCHlch(36.81, 51.13, 132.43°)
OKLaboklab(44.38% -0.0952 0.0841)
OKLCHoklch(44.38% 0.127 138.6)
XYZxyz(5.4773, 9.4351, 2.0627)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296311 #4B1163
analogous
#526311 #296311 #116322
triadic
#296311 #112963 #631129
tetradic
#296311 #115263 #4B1163 #632211
square
#296311 #115263 #4B1163 #632211
split-complementary
#296311 #221163 #631152
monochromatic
#0B1A04 #132F08 #296311 #3F971A #54CB23

Accessibility & contrast

On white

7.27
#296311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#296311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296311
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296311#FFFFFF#000000##FFFFFF
##2963111.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F551A
Tritanopia (blue-blind)
#245F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296311;
/* rgb */ color: rgb(41, 99, 17);
/* oklch */ color: oklch(44.4% 0.127 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a9056',
    500: '#296311',
    950: '#000000',
  },
}
SCSS
$custom: #296311;
$custom-light: #6a9056;
$custom-dark: #000000;
JSON
{
  "hex": "#296311",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 102.439,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.12703,
    "h": 138.6
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#296311
secondary
#7D349B
accent
#3AEDB9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #296311

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

Preview Lab → · Contrast checker → · Palette generator →

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