#298E31#298E31

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

Color values

HEX#298E31
RGBrgb(41, 142, 49)
HSLhsl(125, 55%, 36%)
HSVhsv(125, 71%, 56%)
CMYKcmyk(71.1%, 0%, 65.5%, 44.3%)
CIE-LABlab(51.88, -47.89, 40.15)
CIE-LCHlch(51.88, 62.49, 140.02°)
OKLaboklab(56.93% -0.1296 0.0934)
OKLCHoklch(56.93% 0.16 144.2)
XYZxyz(11.1411, 20.0380, 6.1857)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E31 #8E2986
analogous
#548E29 #298E31 #298E63
triadic
#298E31 #31298E #8E3129
tetradic
#298E31 #29548E #8E2986 #8E6329
square
#298E31 #29548E #8E2986 #8E6329
split-complementary
#298E31 #63298E #8E2954
monochromatic
#0E2F10 #1B5F21 #298E31 #37BD41 #60D169

Accessibility & contrast

On white

4.19
#298E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#298E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E31
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E31#FFFFFF#000000##000000
##298E311.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#857939
Tritanopia (blue-blind)
#058A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e31;
/* rgb */ color: rgb(41, 142, 49);
/* oklch */ color: oklch(56.9% 0.160 144.2);
Tailwind
colors: {
  custom: {
    50: '#72b06d',
    500: '#298e31',
    950: '#000000',
  },
}
SCSS
$custom: #298e31;
$custom-light: #72b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#298e31",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 124.752,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.15977,
    "h": 144.2
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#298E31
secondary
#B75CB0
accent
#49D3DF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E31

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

Preview Lab → · Contrast checker → · Palette generator →

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