#296312#296312

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

Color values

HEX#296312
RGBrgb(41, 99, 18)
HSLhsl(103, 69%, 23%)
HSVhsv(103, 82%, 39%)
CMYKcmyk(58.6%, 0%, 81.8%, 61.2%)
CIE-LABlab(36.81, -34.43, 37.38)
CIE-LCHlch(36.81, 50.82, 132.64°)
OKLaboklab(44.39% -0.095 0.0835)
OKLCHoklch(44.39% 0.126 138.7)
XYZxyz(5.4853, 9.4383, 2.1049)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296312 #4C1263
analogous
#516312 #296312 #126323
triadic
#296312 #122963 #631229
tetradic
#296312 #125163 #4C1263 #632312
square
#296312 #125163 #4C1263 #632312
split-complementary
#296312 #231263 #631251
monochromatic
#0B1A05 #142F09 #296312 #3E971B #54CB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296312#FFFFFF#000000##FFFFFF
##2963121.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)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#235F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296312;
/* rgb */ color: rgb(41, 99, 18);
/* oklch */ color: oklch(44.4% 0.126 138.7);
Tailwind
colors: {
  custom: {
    50: '#6a9057',
    500: '#296312',
    950: '#000000',
  },
}
SCSS
$custom: #296312;
$custom-light: #6a9057;
$custom-dark: #000000;
JSON
{
  "hex": "#296312",
  "rgb": {
    "r": 41,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 102.963,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.12647,
    "h": 138.7
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#296312
secondary
#7E369B
accent
#3CECBA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #296312

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

Preview Lab → · Contrast checker → · Palette generator →

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