#297017#297017

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

Color values

HEX#297017
RGBrgb(41, 112, 23)
HSLhsl(108, 66%, 26%)
HSVhsv(108, 79%, 44%)
CMYKcmyk(63.4%, 0%, 79.5%, 56.1%)
CIE-LABlab(41.41, -39.24, 40.03)
CIE-LCHlch(41.41, 56.05, 134.43°)
OKLaboklab(48.2% -0.1076 0.0898)
OKLCHoklch(48.2% 0.14 140.2)
XYZxyz(6.8630, 12.1210, 2.7884)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297017 #5E1770
analogous
#567017 #297017 #177032
triadic
#297017 #172970 #701729
tetradic
#297017 #175670 #5E1770 #703217
square
#297017 #175670 #5E1770 #703217
split-complementary
#297017 #321770 #701756
monochromatic
#091905 #163D0D #297017 #3CA321 #4FD42D

Accessibility & contrast

On white

6.13
#297017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297017
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297017#FFFFFF#000000##FFFFFF
##2970171.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #297017;
/* rgb */ color: rgb(41, 112, 23);
/* oklch */ color: oklch(48.2% 0.140 140.2);
Tailwind
colors: {
  custom: {
    50: '#6d9a5b',
    500: '#297017',
    950: '#000000',
  },
}
SCSS
$custom: #297017;
$custom-light: #6d9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#297017",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 107.865,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.14017,
    "h": 140.2
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#297017
secondary
#913DA6
accent
#3FE9C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297017

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

Preview Lab → · Contrast checker → · Palette generator →

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