#295C40#295C40

#295C40 is a dark, moderate green. Relative luminance 0.085; OKLCH L 43.1% C 0.073 H 157.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#295C40
RGBrgb(41, 92, 64)
HSLhsl(147, 38%, 26%)
HSVhsv(147, 55%, 36%)
CMYKcmyk(55.4%, 0%, 30.4%, 63.9%)
CIE-LABlab(34.99, -24.47, 11.02)
CIE-LCHlch(34.99, 26.84, 155.77°)
OKLaboklab(43.1% -0.067 0.028)
OKLCHoklch(43.1% 0.073 157.3)
XYZxyz(5.6666, 8.4954, 6.1907)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#295C40 #5C2945
analogous
#2B5C29 #295C40 #295C59
triadic
#295C40 #40295C #5C4029
tetradic
#295C40 #292B5C #5C2945 #5C5929
square
#295C40 #292B5C #5C2945 #5C5929
split-complementary
#295C40 #59295C #5C292B
monochromatic
#09150F #163223 #295C40 #3C865D #4FB17B

Accessibility & contrast

On white

7.78
#295C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#295C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #295C40
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##295C40#FFFFFF#000000##FFFFFF
##295C401.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B553E
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#1A5B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #295c40;
/* rgb */ color: rgb(41, 92, 64);
/* oklch */ color: oklch(43.1% 0.073 157.3);
Tailwind
colors: {
  custom: {
    50: '#678a75',
    500: '#295c40',
    950: '#000000',
  },
}
SCSS
$custom: #295c40;
$custom-light: #678a75;
$custom-dark: #000000;
JSON
{
  "hex": "#295c40",
  "rgb": {
    "r": 41,
    "g": 92,
    "b": 64
  },
  "hsl": {
    "h": 147.059,
    "s": 38.346,
    "l": 26.078
  },
  "oklch": {
    "l": 0.43102,
    "c": 0.07262,
    "h": 157.3
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#295C40
secondary
#8F5273
accent
#5A9ACE
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #295C40

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

Preview Lab → · Contrast checker → · Palette generator →

#295C40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva