#297331#297331

#297331 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.124 H 145.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#297331
RGBrgb(41, 115, 49)
HSLhsl(126, 47%, 31%)
HSVhsv(126, 64%, 45%)
CMYKcmyk(64.3%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.69, -37.59, 29.55)
CIE-LCHlch(42.69, 47.82, 141.83°)
OKLaboklab(49.34% -0.1018 0.0706)
OKLCHoklch(49.34% 0.124 145.3)
XYZxyz(7.5991, 12.9539, 5.0050)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297331 #73296B
analogous
#467329 #297331 #297356
triadic
#297331 #312973 #733129
tetradic
#297331 #294673 #73296B #735629
square
#297331 #294673 #73296B #735629
split-complementary
#297331 #562973 #732946
monochromatic
#09190B #19461E #297331 #39A044 #54C260

Accessibility & contrast

On white

5.85
#297331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#297331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297331
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297331#FFFFFF#000000##FFFFFF
##2973311.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6C6236
Tritanopia (blue-blind)
#187064
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297331;
/* rgb */ color: rgb(41, 115, 49);
/* oklch */ color: oklch(49.3% 0.124 145.3);
Tailwind
colors: {
  custom: {
    50: '#6c9c6b',
    500: '#297331',
    950: '#000000',
  },
}
SCSS
$custom: #297331;
$custom-light: #6c9c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#297331",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 126.486,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49336,
    "c": 0.12382,
    "h": 145.3
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#297331
secondary
#A5539C
accent
#51C9D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #297331

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

Preview Lab → · Contrast checker → · Palette generator →

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