#297211#297211

#297211 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.146 H 139.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#297211
RGBrgb(41, 114, 17)
HSLhsl(105, 74%, 26%)
HSVhsv(105, 85%, 45%)
CMYKcmyk(64%, 0%, 85.1%, 55.3%)
CIE-LABlab(42.07, -40.40, 42.67)
CIE-LCHlch(42.07, 58.76, 133.43°)
OKLaboklab(48.73% -0.1111 0.0944)
OKLCHoklch(48.73% 0.146 139.7)
XYZxyz(7.0326, 12.5459, 2.5812)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297211 #5A1172
analogous
#597211 #297211 #11722A
triadic
#297211 #112972 #721129
tetradic
#297211 #115972 #5A1172 #722A11
square
#297211 #115972 #5A1172 #722A11
split-complementary
#297211 #2A1172 #721159
monochromatic
#0A1B04 #163D09 #297211 #3CA719 #4FDD21

Accessibility & contrast

On white

5.98
#297211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#297211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297211
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297211#FFFFFF#000000##FFFFFF
##2972111.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#1F6E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297211;
/* rgb */ color: rgb(41, 114, 17);
/* oklch */ color: oklch(48.7% 0.146 139.7);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#297211',
    950: '#000000',
  },
}
SCSS
$custom: #297211;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#297211",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 105.155,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48732,
    "c": 0.14578,
    "h": 139.7
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#297211
secondary
#8D36A9
accent
#37F1C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297211

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

Preview Lab → · Contrast checker → · Palette generator →

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