#297D2E#297D2E

#297D2E is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.140 H 144.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#297D2E
RGBrgb(41, 125, 46)
HSLhsl(124, 51%, 33%)
HSVhsv(124, 67%, 49%)
CMYKcmyk(67.2%, 0%, 63.2%, 51%)
CIE-LABlab(46.09, -41.94, 35.03)
CIE-LCHlch(46.09, 54.65, 140.13°)
OKLaboklab(52.13% -0.1136 0.0822)
OKLCHoklch(52.13% 0.14 144.1)
XYZxyz(8.7407, 15.3350, 5.0836)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297D2E #7D2978
analogous
#4E7D29 #297D2E #297D58
triadic
#297D2E #2E297D #7D2E29
tetradic
#297D2E #294E7D #7D2978 #7D5829
square
#297D2E #294E7D #7D2978 #7D5829
split-complementary
#297D2E #58297D #7D294E
monochromatic
#0B210C #1A4F1D #297D2E #38AB3F #58C85F

Accessibility & contrast

On white

5.16
#297D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#297D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297D2E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297D2E#FFFFFF#000000##FFFFFF
##297D2E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7125
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#147A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #297d2e;
/* rgb */ color: rgb(41, 125, 46);
/* oklch */ color: oklch(52.1% 0.140 144.1);
Tailwind
colors: {
  custom: {
    50: '#6ea36a',
    500: '#297d2e',
    950: '#000000',
  },
}
SCSS
$custom: #297d2e;
$custom-light: #6ea36a;
$custom-dark: #000000;
JSON
{
  "hex": "#297d2e",
  "rgb": {
    "r": 41,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 123.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.14025,
    "h": 144.1
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#297D2E
secondary
#AE54A8
accent
#4ED2DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #297D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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