#297B1A#297B1A

#297B1A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.152 H 140.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#297B1A
RGBrgb(41, 123, 26)
HSLhsl(111, 65%, 29%)
HSVhsv(111, 79%, 48%)
CMYKcmyk(66.7%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.24, -43.16, 42.69)
CIE-LCHlch(45.24, 60.71, 135.32°)
OKLaboklab(51.37% -0.1181 0.0958)
OKLCHoklch(51.37% 0.152 140.9)
XYZxyz(8.1835, 14.7111, 3.3853)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297B1A #6C1A7B
analogous
#5A7B1A #297B1A #1A7B3C
triadic
#297B1A #1A297B #7B1A29
tetradic
#297B1A #1A5A7B #6C1A7B #7B3C1A
square
#297B1A #1A5A7B #6C1A7B #7B3C1A
split-complementary
#297B1A #3C1A7B #7B1A5A
monochromatic
#081905 #18480F #297B1A #3AAE25 #52D53A

Accessibility & contrast

On white

5.33
#297B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#297B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297B1A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297B1A#FFFFFF#000000##FFFFFF
##297B1A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#746925
Tritanopia (blue-blind)
#1B7769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #297b1a;
/* rgb */ color: rgb(41, 123, 26);
/* oklch */ color: oklch(51.4% 0.152 140.9);
Tailwind
colors: {
  custom: {
    50: '#6fa25e',
    500: '#297b1a',
    950: '#000000',
  },
}
SCSS
$custom: #297b1a;
$custom-light: #6fa25e;
$custom-dark: #000000;
JSON
{
  "hex": "#297b1a",
  "rgb": {
    "r": 41,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 110.722,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51369,
    "c": 0.15203,
    "h": 140.9
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#297B1A
secondary
#9E42AF
accent
#40E8CE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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