#297236#297236

#297236 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.118 H 146.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#297236
RGBrgb(41, 114, 54)
HSLhsl(131, 47%, 30%)
HSVhsv(131, 64%, 45%)
CMYKcmyk(64%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.42, -36.42, 26.55)
CIE-LCHlch(42.42, 45.07, 143.91°)
OKLaboklab(49.13% -0.0984 0.0642)
OKLCHoklch(49.13% 0.118 146.9)
XYZxyz(7.5971, 12.7717, 5.5541)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297236 #722965
analogous
#407229 #297236 #29725A
triadic
#297236 #362972 #723629
tetradic
#297236 #294072 #722965 #725A29
square
#297236 #294072 #722965 #725A29
split-complementary
#297236 #5A2972 #722940
monochromatic
#09180B #194521 #297236 #399F4B #54C167

Accessibility & contrast

On white

5.91
#297236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#297236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297236
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297236#FFFFFF#000000##FFFFFF
##2972361.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736831
Deuteranopia (green-blind)
#6A623A
Tritanopia (blue-blind)
#176F64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297236;
/* rgb */ color: rgb(41, 114, 54);
/* oklch */ color: oklch(49.1% 0.118 146.9);
Tailwind
colors: {
  custom: {
    50: '#6b9b6e',
    500: '#297236',
    950: '#000000',
  },
}
SCSS
$custom: #297236;
$custom-light: #6b9b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#297236",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 130.685,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.11754,
    "h": 146.9
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#297236
secondary
#A45396
accent
#51BFD7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #297236

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

Preview Lab → · Contrast checker → · Palette generator →

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