#298E2E#298E2E

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

Color values

HEX#298E2E
RGBrgb(41, 142, 46)
HSLhsl(123, 55%, 36%)
HSVhsv(123, 71%, 56%)
CMYKcmyk(71.1%, 0%, 67.6%, 44.3%)
CIE-LABlab(51.85, -48.22, 41.46)
CIE-LCHlch(51.85, 63.59, 139.31°)
OKLaboklab(56.9% -0.1307 0.0959)
OKLCHoklch(56.9% 0.162 143.7)
XYZxyz(11.0799, 20.0135, 5.8633)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2E #8E2989
analogous
#568E29 #298E2E #298E60
triadic
#298E2E #2E298E #8E2E29
tetradic
#298E2E #29568E #8E2989 #8E6029
square
#298E2E #29568E #8E2989 #8E6029
split-complementary
#298E2E #60298E #8E2956
monochromatic
#0E2F0F #1B5F1F #298E2E #37BD3D #60D166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E2E#FFFFFF#000000##000000
##298E2E1.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)
#918122
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#078A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2e;
/* rgb */ color: rgb(41, 142, 46);
/* oklch */ color: oklch(56.9% 0.162 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b06b',
    500: '#298e2e',
    950: '#000000',
  },
}
SCSS
$custom: #298e2e;
$custom-light: #72b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2e",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 122.97,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.16205,
    "h": 143.7
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#298E2E
secondary
#B75CB2
accent
#49D7DF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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