#297230#297230

#297230 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.123 H 145.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#297230
RGBrgb(41, 114, 48)
HSLhsl(126, 47%, 30%)
HSVhsv(126, 64%, 45%)
CMYKcmyk(64%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.34, -37.33, 29.65)
CIE-LCHlch(42.34, 47.67, 141.54°)
OKLaboklab(49.04% -0.1011 0.0707)
OKLCHoklch(49.04% 0.123 145)
XYZxyz(7.4648, 12.7187, 4.8573)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297230 #72296B
analogous
#477229 #297230 #297254
triadic
#297230 #302972 #723029
tetradic
#297230 #294772 #72296B #725429
square
#297230 #294772 #72296B #725429
split-complementary
#297230 #542972 #722947
monochromatic
#09180A #19451D #297230 #399F43 #54C15E

Accessibility & contrast

On white

5.93
#297230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#297230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297230
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297230#FFFFFF#000000##FFFFFF
##2972301.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#196F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #297230;
/* rgb */ color: rgb(41, 114, 48);
/* oklch */ color: oklch(49.0% 0.123 145.0);
Tailwind
colors: {
  custom: {
    50: '#6c9b6a',
    500: '#297230',
    950: '#000000',
  },
}
SCSS
$custom: #297230;
$custom-light: #6c9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#297230",
  "rgb": {
    "r": 41,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 125.753,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.12334,
    "h": 145
  },
  "luminance": 0.12719
}

Semantic roles & 50–950 ramp

primary
#297230
secondary
#A4539C
accent
#51CAD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #297230

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

Preview Lab → · Contrast checker → · Palette generator →

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