#297213#297213

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

Color values

HEX#297213
RGBrgb(41, 114, 19)
HSLhsl(106, 71%, 26%)
HSVhsv(106, 83%, 45%)
CMYKcmyk(64%, 0%, 83.3%, 55.3%)
CIE-LABlab(42.08, -40.28, 42.05)
CIE-LCHlch(42.08, 58.23, 133.76°)
OKLaboklab(48.74% -0.1107 0.0934)
OKLCHoklch(48.74% 0.145 139.8)
XYZxyz(7.0490, 12.5524, 2.6674)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297213 #5C1372
analogous
#587213 #297213 #13722C
triadic
#297213 #132972 #721329
tetradic
#297213 #135872 #5C1372 #722C13
square
#297213 #135872 #5C1372 #722C13
split-complementary
#297213 #2C1372 #721358
monochromatic
#091A04 #163E0A #297213 #3CA61C #4FDB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297213#FFFFFF#000000##FFFFFF
##2972131.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)
#6D611E
Tritanopia (blue-blind)
#1F6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297213;
/* rgb */ color: rgb(41, 114, 19);
/* oklch */ color: oklch(48.7% 0.145 139.8);
Tailwind
colors: {
  custom: {
    50: '#6d9b5a',
    500: '#297213',
    950: '#000000',
  },
}
SCSS
$custom: #297213;
$custom-light: #6d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297213",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 106.105,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.14482,
    "h": 139.8
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#297213
secondary
#8F38A9
accent
#3AEEC4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297213

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

Preview Lab → · Contrast checker → · Palette generator →

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