#297D1A#297D1A

#297D1A is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.154 H 141.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#297D1A
RGBrgb(41, 125, 26)
HSLhsl(111, 66%, 30%)
HSVhsv(111, 79%, 49%)
CMYKcmyk(67.2%, 0%, 79.2%, 51%)
CIE-LABlab(45.92, -43.90, 43.36)
CIE-LCHlch(45.92, 61.70, 135.35°)
OKLaboklab(51.94% -0.12 0.0972)
OKLCHoklch(51.94% 0.154 141)
XYZxyz(8.4341, 15.2124, 3.4689)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D1A #6E1A7D
analogous
#5B7D1A #297D1A #1A7D3D
triadic
#297D1A #1A297D #7D1A29
tetradic
#297D1A #1A5B7D #6E1A7D #7D3D1A
square
#297D1A #1A5B7D #6E1A7D #7D3D1A
split-complementary
#297D1A #3D1A7D #7D1A5B
monochromatic
#081905 #184A0F #297D1A #3AB025 #53D63B

Accessibility & contrast

On white

5.19
#297D1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297D1A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D1A#FFFFFF#000000##FFFFFF
##297D1A1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#1A796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d1a;
/* rgb */ color: rgb(41, 125, 26);
/* oklch */ color: oklch(51.9% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa35f',
    500: '#297d1a',
    950: '#000000',
  },
}
SCSS
$custom: #297d1a;
$custom-light: #6fa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#297d1a",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 110.909,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.15445,
    "h": 141
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#297D1A
secondary
#A042B1
accent
#3FE9CF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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