#297640#297640

#297640 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.4% C 0.113 H 150.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#297640
RGBrgb(41, 118, 64)
HSLhsl(138, 48%, 31%)
HSVhsv(138, 65%, 46%)
CMYKcmyk(65.3%, 0%, 45.8%, 53.7%)
CIE-LABlab(43.94, -36.38, 22.94)
CIE-LCHlch(43.94, 43.01, 147.76°)
OKLaboklab(50.43% -0.0982 0.0565)
OKLCHoklch(50.43% 0.113 150.1)
XYZxyz(8.3177, 13.7976, 7.0744)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297640 #76295F
analogous
#387629 #297640 #297666
triadic
#297640 #402976 #764029
tetradic
#297640 #293876 #76295F #766629
square
#297640 #293876 #76295F #766629
split-complementary
#297640 #662976 #762938
monochromatic
#091B0F #194927 #297640 #39A359 #55C476

Accessibility & contrast

On white

5.59
#297640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#297640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297640
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297640#FFFFFF#000000##FFFFFF
##2976401.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#0F7469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297640;
/* rgb */ color: rgb(41, 118, 64);
/* oklch */ color: oklch(50.4% 0.113 150.1);
Tailwind
colors: {
  custom: {
    50: '#6c9e75',
    500: '#297640',
    950: '#000000',
  },
}
SCSS
$custom: #297640;
$custom-light: #6c9e75;
$custom-dark: #000000;
JSON
{
  "hex": "#297640",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 137.922,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50435,
    "c": 0.11333,
    "h": 150.1
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#297640
secondary
#A8538F
accent
#50AFD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #297640

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

Preview Lab → · Contrast checker → · Palette generator →

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