#298E45#298E45

#298E45 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.142 H 148.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#298E45
RGBrgb(41, 142, 69)
HSLhsl(137, 55%, 36%)
HSVhsv(137, 71%, 56%)
CMYKcmyk(71.1%, 0%, 51.4%, 44.3%)
CIE-LABlab(52.11, -45.15, 30.57)
CIE-LCHlch(52.11, 54.52, 145.90°)
OKLaboklab(57.2% -0.1216 0.0741)
OKLCHoklch(57.2% 0.142 148.7)
XYZxyz(11.6607, 20.2458, 8.9224)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E45 #8E2972
analogous
#3F8E29 #298E45 #298E77
triadic
#298E45 #45298E #8E4529
tetradic
#298E45 #293F8E #8E2972 #8E7729
square
#298E45 #293F8E #8E2972 #8E7729
split-complementary
#298E45 #77298E #8E293F
monochromatic
#0E2F17 #1B5F2E #298E45 #37BD5C #60D180

Accessibility & contrast

On white

4.16
#298E45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#298E45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E45
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E45#FFFFFF#000000##000000
##298E451.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813F
Deuteranopia (green-blind)
#83794A
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e45;
/* rgb */ color: rgb(41, 142, 69);
/* oklch */ color: oklch(57.2% 0.142 148.7);
Tailwind
colors: {
  custom: {
    50: '#71b07a',
    500: '#298e45',
    950: '#000000',
  },
}
SCSS
$custom: #298e45;
$custom-light: #71b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#298e45",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 69
  },
  "hsl": {
    "h": 136.634,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.572,
    "c": 0.14238,
    "h": 148.7
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#298E45
secondary
#B75C9E
accent
#49B5DF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091109
muted
#7B807B

Preview Lab

Preview with #298E45

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

Preview Lab → · Contrast checker → · Palette generator →

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