#298E2C#298E2C

#298E2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.164 H 143.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#298E2C
RGBrgb(41, 142, 44)
HSLhsl(122, 55%, 36%)
HSVhsv(122, 71%, 56%)
CMYKcmyk(71.1%, 0%, 69%, 44.3%)
CIE-LABlab(51.84, -48.42, 42.31)
CIE-LCHlch(51.84, 64.31, 138.85°)
OKLaboklab(56.88% -0.1313 0.0974)
OKLCHoklch(56.88% 0.164 143.4)
XYZxyz(11.0414, 19.9981, 5.6605)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2C #8E298B
analogous
#588E29 #298E2C #298E5E
triadic
#298E2C #2C298E #8E2C29
tetradic
#298E2C #29588E #8E298B #8E5E29
square
#298E2C #29588E #8E298B #8E5E29
split-complementary
#298E2C #5E298E #8E2958
monochromatic
#0E2F0F #1B5F1D #298E2C #37BD3B #60D164

Accessibility & contrast

On white

4.20
#298E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#298E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E2C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E2C#FFFFFF#000000##000000
##298E2C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#088A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2c;
/* rgb */ color: rgb(41, 142, 44);
/* oklch */ color: oklch(56.9% 0.164 143.4);
Tailwind
colors: {
  custom: {
    50: '#72b06a',
    500: '#298e2c',
    950: '#000000',
  },
}
SCSS
$custom: #298e2c;
$custom-light: #72b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2c",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 121.782,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.16351,
    "h": 143.4
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#298E2C
secondary
#B75CB4
accent
#49DADF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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