#296814#296814

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

Color values

HEX#296814
RGBrgb(41, 104, 20)
HSLhsl(105, 68%, 24%)
HSVhsv(105, 81%, 41%)
CMYKcmyk(60.6%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.59, -36.31, 38.38)
CIE-LCHlch(38.59, 52.83, 133.42°)
OKLaboklab(45.86% -0.0999 0.0859)
OKLCHoklch(45.86% 0.132 139.3)
XYZxyz(5.9908, 10.4220, 2.3576)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296814 #531468
analogous
#536814 #296814 #146829
triadic
#296814 #142968 #681429
tetradic
#296814 #145368 #531468 #682914
square
#296814 #145368 #531468 #682914
split-complementary
#296814 #291468 #681453
monochromatic
#0A1A05 #15350A #296814 #3D9B1E #51CF28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##296814#FFFFFF#000000##FFFFFF
##2968141.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)
#6B5E02
Deuteranopia (green-blind)
#63591D
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296814;
/* rgb */ color: rgb(41, 104, 20);
/* oklch */ color: oklch(45.9% 0.132 139.3);
Tailwind
colors: {
  custom: {
    50: '#6b9459',
    500: '#296814',
    950: '#000000',
  },
}
SCSS
$custom: #296814;
$custom-light: #6b9459;
$custom-dark: #000000;
JSON
{
  "hex": "#296814",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 105,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.13177,
    "h": 139.3
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#296814
secondary
#85399F
accent
#3DEBBF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #296814

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

Preview Lab → · Contrast checker → · Palette generator →

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