#298A2C#298A2C

#298A2C is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.159 H 143.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#298A2C
RGBrgb(41, 138, 44)
HSLhsl(122, 54%, 35%)
HSVhsv(122, 70%, 54%)
CMYKcmyk(70.3%, 0%, 68.1%, 45.9%)
CIE-LABlab(50.49, -47.00, 40.85)
CIE-LCHlch(50.49, 62.27, 139.00°)
OKLaboklab(55.76% -0.1274 0.0943)
OKLCHoklch(55.76% 0.159 143.5)
XYZxyz(10.4569, 18.8291, 5.4657)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298A2C #8A2987
analogous
#568A29 #298A2C #298A5D
triadic
#298A2C #2C298A #8A2C29
tetradic
#298A2C #29568A #8A2987 #8A5D29
square
#298A2C #29568A #8A2987 #8A5D29
split-complementary
#298A2C #5D298A #8A2956
monochromatic
#0D2C0E #1B5B1D #298A2C #37B93B #5ECF62

Accessibility & contrast

On white

4.41
#298A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#298A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298A2C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298A2C#FFFFFF#000000##000000
##298A2C1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D20
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#0C8677
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #298a2c;
/* rgb */ color: rgb(41, 138, 44);
/* oklch */ color: oklch(55.8% 0.159 143.5);
Tailwind
colors: {
  custom: {
    50: '#71ad6a',
    500: '#298a2c',
    950: '#000000',
  },
}
SCSS
$custom: #298a2c;
$custom-light: #71ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#298a2c",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 121.856,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.15857,
    "h": 143.5
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#298A2C
secondary
#B55AB2
accent
#4AD9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298A2C

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

Preview Lab → · Contrast checker → · Palette generator →

#298A2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva