#297D1B#297D1B

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

Color values

HEX#297D1B
RGBrgb(41, 125, 27)
HSLhsl(111, 64%, 30%)
HSVhsv(111, 78%, 49%)
CMYKcmyk(67.2%, 0%, 78.4%, 51%)
CIE-LABlab(45.93, -43.82, 43.01)
CIE-LCHlch(45.93, 61.40, 135.54°)
OKLaboklab(51.94% -0.1198 0.0966)
OKLCHoklch(51.94% 0.154 141.1)
XYZxyz(8.4455, 15.2169, 3.5288)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D1B #6F1B7D
analogous
#5A7D1B #297D1B #1B7D3E
triadic
#297D1B #1B297D #7D1B29
tetradic
#297D1B #1B5A7D #6F1B7D #7D3E1B
square
#297D1B #1B5A7D #6F1B7D #7D3E1B
split-complementary
#297D1B #3E1B7D #7D1B5A
monochromatic
#081905 #184B10 #297D1B #3AAF26 #53D53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297D1B#FFFFFF#000000##FFFFFF
##297D1B1.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)
#807105
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#1A796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d1b;
/* rgb */ color: rgb(41, 125, 27);
/* oklch */ color: oklch(51.9% 0.154 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa35f',
    500: '#297d1b',
    950: '#000000',
  },
}
SCSS
$custom: #297d1b;
$custom-light: #6fa35f;
$custom-dark: #000000;
JSON
{
  "hex": "#297d1b",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 111.429,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.15388,
    "h": 141.1
  },
  "luminance": 0.15218
}

Semantic roles & 50–950 ramp

primary
#297D1B
secondary
#A143B1
accent
#40E7D0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #297D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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