#297210#297210

#297210 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.146 H 139.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#297210
RGBrgb(41, 114, 16)
HSLhsl(105, 75%, 25%)
HSVhsv(105, 86%, 45%)
CMYKcmyk(64%, 0%, 86%, 55.3%)
CIE-LABlab(42.07, -40.45, 42.96)
CIE-LCHlch(42.07, 59.01, 133.28°)
OKLaboklab(48.73% -0.1113 0.0948)
OKLCHoklch(48.73% 0.146 139.6)
XYZxyz(7.0250, 12.5428, 2.5409)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297210 #591072
analogous
#5A7210 #297210 #107228
triadic
#297210 #102972 #721029
tetradic
#297210 #105A72 #591072 #722810
square
#297210 #105A72 #591072 #722810
split-complementary
#297210 #281072 #72105A
monochromatic
#0A1B04 #163C08 #297210 #3CA818 #50DD1F

Accessibility & contrast

On white

5.99
#297210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #297210
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297210#FFFFFF#000000##FFFFFF
##2972101.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#1F6E60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #297210;
/* rgb */ color: rgb(41, 114, 16);
/* oklch */ color: oklch(48.7% 0.146 139.6);
Tailwind
colors: {
  custom: {
    50: '#6d9b59',
    500: '#297210',
    950: '#000000',
  },
}
SCSS
$custom: #297210;
$custom-light: #6d9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#297210",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 104.694,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48727,
    "c": 0.14623,
    "h": 139.6
  },
  "luminance": 0.12543
}

Semantic roles & 50–950 ramp

primary
#297210
secondary
#8C34A9
accent
#36F2C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #297210

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

Preview Lab → · Contrast checker → · Palette generator →

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