#297919#297919

#297919 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.150 H 140.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#297919
RGBrgb(41, 121, 25)
HSLhsl(110, 66%, 29%)
HSVhsv(110, 79%, 47%)
CMYKcmyk(66.1%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.54, -42.50, 42.37)
CIE-LCHlch(44.54, 60.01, 135.09°)
OKLaboklab(50.79% -0.1163 0.095)
OKLCHoklch(50.79% 0.15 140.8)
XYZxyz(7.9269, 14.2156, 3.2457)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297919 #691979
analogous
#597919 #297919 #197939
triadic
#297919 #192979 #791929
tetradic
#297919 #195979 #691979 #793919
square
#297919 #195979 #691979 #793919
split-complementary
#297919 #391979 #791959
monochromatic
#091905 #18460F #297919 #3AAC23 #51D637

Accessibility & contrast

On white

5.46
#297919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#297919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297919
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297919#FFFFFF#000000##FFFFFF
##2979191.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#1C7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297919;
/* rgb */ color: rgb(41, 121, 25);
/* oklch */ color: oklch(50.8% 0.150 140.8);
Tailwind
colors: {
  custom: {
    50: '#6ea05e',
    500: '#297919',
    950: '#000000',
  },
}
SCSS
$custom: #297919;
$custom-light: #6ea05e;
$custom-dark: #000000;
JSON
{
  "hex": "#297919",
  "rgb": {
    "r": 41,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 110,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50791,
    "c": 0.15016,
    "h": 140.8
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#297919
secondary
#9B40AE
accent
#3FE9CC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #297919

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

Preview Lab → · Contrast checker → · Palette generator →

#297919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva