#298F2F#298F2F

#298F2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.163 H 143.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#298F2F
RGBrgb(41, 143, 47)
HSLhsl(124, 55%, 36%)
HSVhsv(124, 71%, 56%)
CMYKcmyk(71.3%, 0%, 67.1%, 43.9%)
CIE-LABlab(52.20, -48.47, 41.40)
CIE-LCHlch(52.20, 63.74, 139.50°)
OKLaboklab(57.19% -0.1313 0.0958)
OKLCHoklch(57.19% 0.163 143.9)
XYZxyz(11.2493, 20.3204, 6.0181)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F2F #8F2989
analogous
#568F29 #298F2F #298F62
triadic
#298F2F #2F298F #8F2F29
tetradic
#298F2F #29568F #8F2989 #8F6229
square
#298F2F #29568F #8F2989 #8F6229
split-complementary
#298F2F #62298F #8F2956
monochromatic
#0E3010 #1B5F1F #298F2F #37BF3F #61D267

Accessibility & contrast

On white

4.15
#298F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#298F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F2F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F2F#FFFFFF#000000##000000
##298F2F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928123
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#068B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f2f;
/* rgb */ color: rgb(41, 143, 47);
/* oklch */ color: oklch(57.2% 0.163 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b16c',
    500: '#298f2f',
    950: '#000000',
  },
}
SCSS
$custom: #298f2f;
$custom-light: #72b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#298f2f",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 123.529,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.16254,
    "h": 143.9
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#298F2F
secondary
#B75CB2
accent
#49D6DF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #298F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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