#298E2D#298E2D

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

Color values

HEX#298E2D
RGBrgb(41, 142, 45)
HSLhsl(122, 55%, 36%)
HSVhsv(122, 71%, 56%)
CMYKcmyk(71.1%, 0%, 68.3%, 44.3%)
CIE-LABlab(51.84, -48.32, 41.89)
CIE-LCHlch(51.84, 63.95, 139.08°)
OKLaboklab(56.89% -0.131 0.0966)
OKLCHoklch(56.89% 0.163 143.6)
XYZxyz(11.0604, 20.0057, 5.7607)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2D #8E298A
analogous
#578E29 #298E2D #298E5F
triadic
#298E2D #2D298E #8E2D29
tetradic
#298E2D #29578E #8E298A #8E5F29
square
#298E2D #29578E #8E298A #8E5F29
split-complementary
#298E2D #5F298E #8E2957
monochromatic
#0E2F0F #1B5F1E #298E2D #37BD3C #60D165

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E2D#FFFFFF#000000##000000
##298E2D1.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)
#918120
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#088A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2d;
/* rgb */ color: rgb(41, 142, 45);
/* oklch */ color: oklch(56.9% 0.163 143.6);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#298e2d',
    950: '#000000',
  },
}
SCSS
$custom: #298e2d;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2d",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 122.376,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56889,
    "c": 0.16279,
    "h": 143.6
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#298E2D
secondary
#B75CB3
accent
#49D9DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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