#297F14#297F14

#297F14 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.160 H 140.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#297F14
RGBrgb(41, 127, 20)
HSLhsl(108, 73%, 29%)
HSVhsv(108, 84%, 50%)
CMYKcmyk(67.7%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.58, -45.01, 45.93)
CIE-LCHlch(46.58, 64.31, 134.42°)
OKLaboklab(52.47% -0.1233 0.1017)
OKLCHoklch(52.47% 0.16 140.5)
XYZxyz(8.6297, 15.6998, 3.2373)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297F14 #6A147F
analogous
#5F7F14 #297F14 #147F35
triadic
#297F14 #14297F #7F1429
tetradic
#297F14 #145F7F #6A147F #7F3514
square
#297F14 #145F7F #6A147F #7F3514
split-complementary
#297F14 #35147F #7F145F
monochromatic
#091A04 #184A0C #297F14 #3AB41C #52DE2F

Accessibility & contrast

On white

5.07
#297F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#297F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297F14
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297F14#FFFFFF#000000##FFFFFF
##297F141.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#1A7B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #297f14;
/* rgb */ color: rgb(41, 127, 20);
/* oklch */ color: oklch(52.5% 0.160 140.5);
Tailwind
colors: {
  custom: {
    50: '#70a55c',
    500: '#297f14',
    950: '#000000',
  },
}
SCSS
$custom: #297f14;
$custom-light: #70a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#297f14",
  "rgb": {
    "r": 41,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 108.224,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.15984,
    "h": 140.5
  },
  "luminance": 0.15701
}

Semantic roles & 50–950 ramp

primary
#297F14
secondary
#9C3BB4
accent
#38EFCC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #297F14

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

Preview Lab → · Contrast checker → · Palette generator →

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