#297012#297012

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

Color values

HEX#297012
RGBrgb(41, 112, 18)
HSLhsl(105, 72%, 25%)
HSVhsv(105, 84%, 44%)
CMYKcmyk(63.4%, 0%, 83.9%, 56.1%)
CIE-LABlab(41.38, -39.58, 41.72)
CIE-LCHlch(41.38, 57.50, 133.49°)
OKLaboklab(48.16% -0.1088 0.0925)
OKLCHoklch(48.16% 0.143 139.6)
XYZxyz(6.8175, 12.1028, 2.5490)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297012 #591270
analogous
#587012 #297012 #12702A
triadic
#297012 #122970 #701229
tetradic
#297012 #125870 #591270 #702A12
square
#297012 #125870 #591270 #702A12
split-complementary
#297012 #2A1270 #701258
monochromatic
#0A1A04 #163B0A #297012 #3CA51A #50D923

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##297012#FFFFFF#000000##FFFFFF
##2970121.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: #297012;
/* rgb */ color: rgb(41, 112, 18);
/* oklch */ color: oklch(48.2% 0.143 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d9a59',
    500: '#297012',
    950: '#000000',
  },
}
SCSS
$custom: #297012;
$custom-light: #6d9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#297012",
  "rgb": {
    "r": 41,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 105.319,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.14286,
    "h": 139.6
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#297012
secondary
#8C37A7
accent
#39EFC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #297012

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

Preview Lab → · Contrast checker → · Palette generator →

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