#297623#297623

#297623 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.140 H 142.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#297623
RGBrgb(41, 118, 35)
HSLhsl(116, 54%, 30%)
HSVhsv(116, 70%, 46%)
CMYKcmyk(65.3%, 0%, 70.3%, 53.7%)
CIE-LABlab(43.58, -40.50, 37.37)
CIE-LCHlch(43.58, 55.10, 137.30°)
OKLaboklab(50.02% -0.1103 0.0859)
OKLCHoklch(50.02% 0.14 142.1)
XYZxyz(7.6958, 13.5489, 3.7994)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297623 #702376
analogous
#527623 #297623 #237647
triadic
#297623 #232976 #762329
tetradic
#297623 #235276 #702376 #764723
square
#297623 #235276 #702376 #764723
split-complementary
#297623 #472376 #762352
monochromatic
#081807 #194715 #297623 #39A531 #53C94A

Accessibility & contrast

On white

5.66
#297623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#297623 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297623
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297623#FFFFFF#000000##FFFFFF
##2976231.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B18
Deuteranopia (green-blind)
#6F652B
Tritanopia (blue-blind)
#1B7265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #297623;
/* rgb */ color: rgb(41, 118, 35);
/* oklch */ color: oklch(50.0% 0.140 142.1);
Tailwind
colors: {
  custom: {
    50: '#6d9e62',
    500: '#297623',
    950: '#000000',
  },
}
SCSS
$custom: #297623;
$custom-light: #6d9e62;
$custom-dark: #000000;
JSON
{
  "hex": "#297623",
  "rgb": {
    "r": 41,
    "g": 118,
    "b": 35
  },
  "hsl": {
    "h": 115.663,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.13982,
    "h": 142.1
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#297623
secondary
#A24CA9
accent
#4ADED3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #297623

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

Preview Lab → · Contrast checker → · Palette generator →

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