#297315#297315

#297315 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.145 H 140.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#297315
RGBrgb(41, 115, 21)
HSLhsl(107, 69%, 27%)
HSVhsv(107, 82%, 45%)
CMYKcmyk(64.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(42.44, -40.53, 41.73)
CIE-LCHlch(42.44, 58.17, 134.16°)
OKLaboklab(49.04% -0.1112 0.093)
OKLCHoklch(49.04% 0.145 140.1)
XYZxyz(7.1802, 12.7864, 2.7989)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297315 #5F1573
analogous
#587315 #297315 #157330
triadic
#297315 #152973 #731529
tetradic
#297315 #155873 #5F1573 #733015
square
#297315 #155873 #5F1573 #733015
split-complementary
#297315 #301573 #731558
monochromatic
#091A05 #173F0C #297315 #3BA71E #4FD82A

Accessibility & contrast

On white

5.90
#297315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#297315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297315
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297315#FFFFFF#000000##FFFFFF
##2973151.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#1F6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297315;
/* rgb */ color: rgb(41, 115, 21);
/* oklch */ color: oklch(49.0% 0.145 140.1);
Tailwind
colors: {
  custom: {
    50: '#6d9c5b',
    500: '#297315',
    950: '#000000',
  },
}
SCSS
$custom: #297315;
$custom-light: #6d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297315",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 107.234,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.14501,
    "h": 140.1
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#297315
secondary
#923BA9
accent
#3CECC6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297315

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

Preview Lab → · Contrast checker → · Palette generator →

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