#297B4E#297B4E

#297B4E is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.107 H 155.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#297B4E
RGBrgb(41, 123, 78)
HSLhsl(147, 50%, 32%)
HSVhsv(147, 67%, 48%)
CMYKcmyk(66.7%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.89, -35.77, 17.55)
CIE-LCHlch(45.89, 39.84, 153.86°)
OKLaboklab(52.12% -0.097 0.0441)
OKLCHoklch(52.12% 0.107 155.5)
XYZxyz(9.3717, 15.1864, 9.6436)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B4E #7B2956
analogous
#2D7B29 #297B4E #297B77
triadic
#297B4E #4E297B #7B4E29
tetradic
#297B4E #292D7B #7B2956 #7B7729
square
#297B4E #292D7B #7B2956 #7B7729
split-complementary
#297B4E #77297B #7B292D
monochromatic
#0A1F14 #1A4D31 #297B4E #38A96B #57C78A

Accessibility & contrast

On white

5.20
#297B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#297B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B4E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B4E#FFFFFF#000000##FFFFFF
##297B4E1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297b4e;
/* rgb */ color: rgb(41, 123, 78);
/* oklch */ color: oklch(52.1% 0.107 155.5);
Tailwind
colors: {
  custom: {
    50: '#6da280',
    500: '#297b4e',
    950: '#000000',
  },
}
SCSS
$custom: #297b4e;
$custom-light: #6da280;
$custom-dark: #000000;
JSON
{
  "hex": "#297b4e",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 147.073,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.10654,
    "h": 155.5
  },
  "luminance": 0.15187
}

Semantic roles & 50–950 ramp

primary
#297B4E
secondary
#AC5384
accent
#4E9BDA
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #297B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#297B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva