#297015#297015

#297015 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.141 H 139.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#297015
RGBrgb(41, 112, 21)
HSLhsl(107, 68%, 26%)
HSVhsv(107, 81%, 44%)
CMYKcmyk(63.4%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.40, -39.38, 40.73)
CIE-LCHlch(41.40, 56.66, 134.04°)
OKLaboklab(48.18% -0.1081 0.0909)
OKLCHoklch(48.18% 0.141 139.9)
XYZxyz(6.8437, 12.1133, 2.6868)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297015 #5C1570
analogous
#567015 #297015 #15702E
triadic
#297015 #152970 #701529
tetradic
#297015 #155670 #5C1570 #702E15
square
#297015 #155670 #5C1570 #702E15
split-complementary
#297015 #2E1570 #701556
monochromatic
#091A05 #163C0B #297015 #3CA41F #4FD729

Accessibility & contrast

On white

6.14
#297015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#297015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297015
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297015#FFFFFF#000000##FFFFFF
##2970151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1F
Tritanopia (blue-blind)
#1F6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297015;
/* rgb */ color: rgb(41, 112, 21);
/* oklch */ color: oklch(48.2% 0.141 139.9);
Tailwind
colors: {
  custom: {
    50: '#6d9a5a',
    500: '#297015',
    950: '#000000',
  },
}
SCSS
$custom: #297015;
$custom-light: #6d9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297015",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 106.813,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48181,
    "c": 0.1413,
    "h": 139.9
  },
  "luminance": 0.12114
}

Semantic roles & 50–950 ramp

primary
#297015
secondary
#8F3BA6
accent
#3DEBC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297015

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

Preview Lab → · Contrast checker → · Palette generator →

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