#296245#296245

#296245 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.077 H 158.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#296245
RGBrgb(41, 98, 69)
HSLhsl(149, 41%, 27%)
HSVhsv(149, 58%, 38%)
CMYKcmyk(58.2%, 0%, 29.6%, 61.6%)
CIE-LABlab(37.18, -26.28, 10.99)
CIE-LCHlch(37.18, 28.49, 157.31°)
OKLaboklab(44.92% -0.072 0.028)
OKLCHoklch(44.92% 0.077 158.8)
XYZxyz(6.3558, 9.6359, 7.1540)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296245 #622946
analogous
#296229 #296245 #296262
triadic
#296245 #452962 #624529
tetradic
#296245 #292962 #622946 #626229
square
#296245 #292962 #622946 #626229
split-complementary
#296245 #622962 #622929
monochromatic
#09160F #173727 #296245 #3B8D63 #50B682

Accessibility & contrast

On white

7.17
#296245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#296245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296245
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296245#FFFFFF#000000##FFFFFF
##2962451.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615B43
Deuteranopia (green-blind)
#595547
Tritanopia (blue-blind)
#16615A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296245;
/* rgb */ color: rgb(41, 98, 69);
/* oklch */ color: oklch(44.9% 0.077 158.8);
Tailwind
colors: {
  custom: {
    50: '#688f78',
    500: '#296245',
    950: '#000000',
  },
}
SCSS
$custom: #296245;
$custom-light: #688f78;
$custom-dark: #000000;
JSON
{
  "hex": "#296245",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 69
  },
  "hsl": {
    "h": 149.474,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44924,
    "c": 0.07725,
    "h": 158.8
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#296245
secondary
#955274
accent
#5795D1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C09
muted
#7A7D7B

Preview Lab

Preview with #296245

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

Preview Lab → · Contrast checker → · Palette generator →

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