#297815#297815

#297815 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.151 H 140.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#297815
RGBrgb(41, 120, 21)
HSLhsl(108, 70%, 28%)
HSVhsv(108, 83%, 47%)
CMYKcmyk(65.8%, 0%, 82.5%, 52.9%)
CIE-LABlab(44.17, -42.40, 43.38)
CIE-LCHlch(44.17, 60.66, 134.35°)
OKLaboklab(50.48% -0.1163 0.0965)
OKLCHoklch(50.48% 0.151 140.3)
XYZxyz(7.7659, 13.9577, 2.9942)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297815 #641578
analogous
#5A7815 #297815 #157833
triadic
#297815 #152978 #781529
tetradic
#297815 #155A78 #641578 #783315
square
#297815 #155A78 #641578 #783315
split-complementary
#297815 #331578 #78155A
monochromatic
#091A05 #17440C #297815 #3BAC1E #50DA2D

Accessibility & contrast

On white

5.54
#297815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#297815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297815
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297815#FFFFFF#000000##FFFFFF
##2978151.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#1D7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #297815;
/* rgb */ color: rgb(41, 120, 21);
/* oklch */ color: oklch(50.5% 0.151 140.3);
Tailwind
colors: {
  custom: {
    50: '#6ea05c',
    500: '#297815',
    950: '#000000',
  },
}
SCSS
$custom: #297815;
$custom-light: #6ea05c;
$custom-dark: #000000;
JSON
{
  "hex": "#297815",
  "rgb": {
    "r": 41,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 107.879,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.15108,
    "h": 140.3
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#297815
secondary
#963BAE
accent
#3BEDC9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #297815

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

Preview Lab → · Contrast checker → · Palette generator →

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