#297011#297011

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

Color values

HEX#297011
RGBrgb(41, 112, 17)
HSLhsl(105, 74%, 25%)
HSVhsv(105, 85%, 44%)
CMYKcmyk(63.4%, 0%, 84.8%, 56.1%)
CIE-LABlab(41.37, -39.64, 42.02)
CIE-LCHlch(41.37, 57.77, 133.33°)
OKLaboklab(48.16% -0.1091 0.093)
OKLCHoklch(48.16% 0.143 139.5)
XYZxyz(6.8095, 12.0996, 2.5068)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297011 #581170
analogous
#587011 #297011 #117028
triadic
#297011 #112970 #701129
tetradic
#297011 #115870 #581170 #702811
square
#297011 #115870 #581170 #702811
split-complementary
#297011 #281170 #701158
monochromatic
#0A1B04 #163B09 #297011 #3CA519 #50DA21

Accessibility & contrast

On white

6.14
#297011 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297011
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297011#FFFFFF#000000##FFFFFF
##2970111.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#206C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #297011;
/* rgb */ color: rgb(41, 112, 17);
/* oklch */ color: oklch(48.2% 0.143 139.5);
Tailwind
colors: {
  custom: {
    50: '#6d9a59',
    500: '#297011',
    950: '#000000',
  },
}
SCSS
$custom: #297011;
$custom-light: #6d9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#297011",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 17
  },
  "hsl": {
    "h": 104.842,
    "s": 73.643,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.14335,
    "h": 139.5
  },
  "luminance": 0.121
}

Semantic roles & 50–950 ramp

primary
#297011
secondary
#8B35A7
accent
#37F0C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297011

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

Preview Lab → · Contrast checker → · Palette generator →

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