#297326#297326

#297326 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.134 H 142.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#297326
RGBrgb(41, 115, 38)
HSLhsl(118, 50%, 30%)
HSVhsv(118, 67%, 45%)
CMYKcmyk(64.3%, 0%, 67%, 54.9%)
CIE-LABlab(42.57, -39.01, 34.90)
CIE-LCHlch(42.57, 52.34, 138.18°)
OKLaboklab(49.19% -0.1061 0.081)
OKLCHoklch(49.19% 0.134 142.6)
XYZxyz(7.3946, 12.8721, 3.9282)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297326 #702673
analogous
#507326 #297326 #267349
triadic
#297326 #262973 #732629
tetradic
#297326 #265073 #702673 #734926
square
#297326 #265073 #702673 #734926
split-complementary
#297326 #492673 #732650
monochromatic
#081708 #194517 #297326 #39A135 #53C54F

Accessibility & contrast

On white

5.87
#297326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#297326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297326
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297326#FFFFFF#000000##FFFFFF
##2973261.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76681D
Deuteranopia (green-blind)
#6C622D
Tritanopia (blue-blind)
#1B7063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297326;
/* rgb */ color: rgb(41, 115, 38);
/* oklch */ color: oklch(49.2% 0.134 142.6);
Tailwind
colors: {
  custom: {
    50: '#6c9c64',
    500: '#297326',
    950: '#000000',
  },
}
SCSS
$custom: #297326;
$custom-light: #6c9c64;
$custom-dark: #000000;
JSON
{
  "hex": "#297326",
  "rgb": {
    "r": 41,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 117.662,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.13352,
    "h": 142.6
  },
  "luminance": 0.12873
}

Semantic roles & 50–950 ramp

primary
#297326
secondary
#A24FA6
accent
#4EDAD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #297326

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

Preview Lab → · Contrast checker → · Palette generator →

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