#296812#296812

#296812 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#296812
RGBrgb(41, 104, 18)
HSLhsl(104, 70%, 24%)
HSVhsv(104, 83%, 41%)
CMYKcmyk(60.6%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.58, -36.45, 39.07)
CIE-LCHlch(38.58, 53.44, 133.01°)
OKLaboklab(45.85% -0.1004 0.087)
OKLCHoklch(45.85% 0.133 139.1)
XYZxyz(5.9737, 10.4152, 2.2677)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296812 #511268
analogous
#546812 #296812 #126826
triadic
#296812 #122968 #681229
tetradic
#296812 #125468 #511268 #682612
square
#296812 #125468 #511268 #682612
split-complementary
#296812 #261268 #681254
monochromatic
#0A1A05 #143409 #296812 #3E9C1B #52D024

Accessibility & contrast

On white

6.81
#296812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#296812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296812
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296812#FFFFFF#000000##FFFFFF
##2968121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296812;
/* rgb */ color: rgb(41, 104, 18);
/* oklch */ color: oklch(45.8% 0.133 139.1);
Tailwind
colors: {
  custom: {
    50: '#6b9458',
    500: '#296812',
    950: '#000000',
  },
}
SCSS
$custom: #296812;
$custom-light: #6b9458;
$custom-dark: #000000;
JSON
{
  "hex": "#296812",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 103.953,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.13289,
    "h": 139.1
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#296812
secondary
#8336A0
accent
#3BEDBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296812

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

Preview Lab → · Contrast checker → · Palette generator →

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