#297334#297334

#297334 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.121 H 146.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#297334
RGBrgb(41, 115, 52)
HSLhsl(129, 47%, 31%)
HSVhsv(129, 64%, 45%)
CMYKcmyk(64.3%, 0%, 54.8%, 54.9%)
CIE-LABlab(42.73, -37.14, 28.01)
CIE-LCHlch(42.73, 46.52, 142.98°)
OKLaboklab(49.38% -0.1004 0.0674)
OKLCHoklch(49.38% 0.121 146.2)
XYZxyz(7.6645, 12.9801, 5.3496)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297334 #732968
analogous
#437329 #297334 #297359
triadic
#297334 #342973 #733429
tetradic
#297334 #294373 #732968 #735929
square
#297334 #294373 #732968 #735929
split-complementary
#297334 #592973 #732943
monochromatic
#09190B #194620 #297334 #39A048 #54C265

Accessibility & contrast

On white

5.84
#297334 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#297334 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297334
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297334#FFFFFF#000000##FFFFFF
##2973341.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692E
Deuteranopia (green-blind)
#6B6239
Tritanopia (blue-blind)
#177065
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297334;
/* rgb */ color: rgb(41, 115, 52);
/* oklch */ color: oklch(49.4% 0.121 146.2);
Tailwind
colors: {
  custom: {
    50: '#6c9c6d',
    500: '#297334',
    950: '#000000',
  },
}
SCSS
$custom: #297334;
$custom-light: #6c9c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#297334",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 52
  },
  "hsl": {
    "h": 128.919,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.12094,
    "h": 146.2
  },
  "luminance": 0.12981
}

Semantic roles & 50–950 ramp

primary
#297334
secondary
#A55399
accent
#51C3D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #297334

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

Preview Lab → · Contrast checker → · Palette generator →

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