#298E29#298E29

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

Color values

HEX#298E29
RGBrgb(41, 142, 41)
HSLhsl(120, 55%, 36%)
HSVhsv(120, 71%, 56%)
CMYKcmyk(71.1%, 0%, 71.1%, 44.3%)
CIE-LABlab(51.81, -48.72, 43.55)
CIE-LCHlch(51.81, 65.35, 138.21°)
OKLaboklab(56.85% -0.1323 0.0997)
OKLCHoklch(56.85% 0.166 143)
XYZxyz(10.9870, 19.9763, 5.3742)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E29 #8E298E
analogous
#5B8E29 #298E29 #298E5B
triadic
#298E29 #29298E #8E2929
tetradic
#298E29 #295B8E #8E298E #8E5B29
square
#298E29 #295B8E #8E298E #8E5B29
split-complementary
#298E29 #5B298E #8E295B
monochromatic
#0E2F0E #1B5F1B #298E29 #37BD37 #60D160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E29#FFFFFF#000000##000000
##298E291.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)
#91801A
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#0A8A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e29;
/* rgb */ color: rgb(41, 142, 41);
/* oklch */ color: oklch(56.9% 0.166 143.0);
Tailwind
colors: {
  custom: {
    50: '#72b068',
    500: '#298e29',
    950: '#000000',
  },
}
SCSS
$custom: #298e29;
$custom-light: #72b068;
$custom-dark: #000000;
JSON
{
  "hex": "#298e29",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 120,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.16561,
    "h": 143
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#298E29
secondary
#B75CB7
accent
#49DFDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E29

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

Preview Lab → · Contrast checker → · Palette generator →

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