#297111#297111

#297111 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.145 H 139.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#297111
RGBrgb(41, 113, 17)
HSLhsl(105, 74%, 25%)
HSVhsv(105, 85%, 44%)
CMYKcmyk(63.7%, 0%, 85%, 55.7%)
CIE-LABlab(41.72, -40.02, 42.35)
CIE-LCHlch(41.72, 58.26, 133.38°)
OKLaboklab(48.44% -0.1101 0.0937)
OKLCHoklch(48.44% 0.145 139.6)
XYZxyz(6.9205, 12.3215, 2.5438)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297111 #591171
analogous
#597111 #297111 #117129
triadic
#297111 #112971 #711129
tetradic
#297111 #115971 #591171 #712911
square
#297111 #115971 #591171 #712911
split-complementary
#297111 #291171 #711159
monochromatic
#0A1B04 #163C09 #297111 #3CA619 #50DB21

Accessibility & contrast

On white

6.06
#297111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#297111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297111
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297111#FFFFFF#000000##FFFFFF
##2971111.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6C601D
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297111;
/* rgb */ color: rgb(41, 113, 17);
/* oklch */ color: oklch(48.4% 0.145 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#297111',
    950: '#000000',
  },
}
SCSS
$custom: #297111;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#297111",
  "rgb": {
    "r": 41,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 105,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.14456,
    "h": 139.6
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#297111
secondary
#8C36A8
accent
#37F1C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297111

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

Preview Lab → · Contrast checker → · Palette generator →

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