#297415#297415

#297415 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.146 H 140.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#297415
RGBrgb(41, 116, 21)
HSLhsl(107, 69%, 27%)
HSVhsv(107, 82%, 45%)
CMYKcmyk(64.7%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.79, -40.91, 42.06)
CIE-LCHlch(42.79, 58.67, 134.20°)
OKLaboklab(49.33% -0.1122 0.0937)
OKLCHoklch(49.33% 0.146 140.1)
XYZxyz(7.2949, 13.0157, 2.8372)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297415 #601574
analogous
#597415 #297415 #157430
triadic
#297415 #152974 #741529
tetradic
#297415 #155974 #601574 #743015
square
#297415 #155974 #601574 #743015
split-complementary
#297415 #301574 #741559
monochromatic
#091A05 #17400C #297415 #3BA81E #4FD92B

Accessibility & contrast

On white

5.83
#297415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#297415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297415
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297415#FFFFFF#000000##FFFFFF
##2974151.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#1E7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #297415;
/* rgb */ color: rgb(41, 116, 21);
/* oklch */ color: oklch(49.3% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d5b',
    500: '#297415',
    950: '#000000',
  },
}
SCSS
$custom: #297415;
$custom-light: #6e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297415",
  "rgb": {
    "r": 41,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 107.368,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49332,
    "c": 0.14623,
    "h": 140.1
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#297415
secondary
#933BAA
accent
#3CECC7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297415

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

Preview Lab → · Contrast checker → · Palette generator →

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