#296237#296237

#296237 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.092 H 149.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#296237
RGBrgb(41, 98, 55)
HSLhsl(135, 41%, 27%)
HSVhsv(135, 58%, 38%)
CMYKcmyk(58.2%, 0%, 43.9%, 61.6%)
CIE-LABlab(36.90, -29.23, 18.97)
CIE-LCHlch(36.90, 34.85, 147.02°)
OKLaboklab(44.6% -0.0792 0.047)
OKLCHoklch(44.6% 0.092 149.3)
XYZxyz(5.9713, 9.4821, 5.1292)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296237 #622954
analogous
#386229 #296237 #296254
triadic
#296237 #372962 #623729
tetradic
#296237 #293862 #622954 #625429
square
#296237 #293862 #622954 #625429
split-complementary
#296237 #542962 #622938
monochromatic
#09160C #17371F #296237 #3B8D4F #50B669

Accessibility & contrast

On white

7.25
#296237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#296237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #296237
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296237#FFFFFF#000000##FFFFFF
##2962371.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5B553A
Tritanopia (blue-blind)
#1C6057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #296237;
/* rgb */ color: rgb(41, 98, 55);
/* oklch */ color: oklch(44.6% 0.092 149.3);
Tailwind
colors: {
  custom: {
    50: '#688f6e',
    500: '#296237',
    950: '#000000',
  },
}
SCSS
$custom: #296237;
$custom-light: #688f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#296237",
  "rgb": {
    "r": 41,
    "g": 98,
    "b": 55
  },
  "hsl": {
    "h": 134.737,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.09207,
    "h": 149.3
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#296237
secondary
#955284
accent
#57B3D1
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #296237

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

Preview Lab → · Contrast checker → · Palette generator →

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