#297512#297512

#297512 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.149 H 139.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#297512
RGBrgb(41, 117, 18)
HSLhsl(106, 73%, 26%)
HSVhsv(106, 85%, 46%)
CMYKcmyk(65%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.12, -41.47, 43.33)
CIE-LCHlch(43.12, 59.98, 133.74°)
OKLaboklab(49.6% -0.1139 0.0959)
OKLCHoklch(49.6% 0.149 139.9)
XYZxyz(7.3846, 13.2370, 2.7380)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297512 #5E1275
analogous
#5B7512 #297512 #12752D
triadic
#297512 #122975 #751229
tetradic
#297512 #125B75 #5E1275 #752D12
square
#297512 #125B75 #5E1275 #752D12
split-complementary
#297512 #2D1275 #75125B
monochromatic
#091B04 #16400A #297512 #3CAA1A #4FDD24

Accessibility & contrast

On white

5.76
#297512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#297512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297512
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297512#FFFFFF#000000##FFFFFF
##2975121.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F641E
Tritanopia (blue-blind)
#1E7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #297512;
/* rgb */ color: rgb(41, 117, 18);
/* oklch */ color: oklch(49.6% 0.149 139.9);
Tailwind
colors: {
  custom: {
    50: '#6e9e5a',
    500: '#297512',
    950: '#000000',
  },
}
SCSS
$custom: #297512;
$custom-light: #6e9e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#297512",
  "rgb": {
    "r": 41,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 106.061,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.14892,
    "h": 139.9
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#297512
secondary
#9137AC
accent
#38F0C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297512

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

Preview Lab → · Contrast checker → · Palette generator →

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