#298F2A#298F2A

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

Color values

HEX#298F2A
RGBrgb(41, 143, 42)
HSLhsl(121, 55%, 36%)
HSVhsv(121, 71%, 56%)
CMYKcmyk(71.3%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.15, -48.98, 43.50)
CIE-LCHlch(52.15, 65.50, 138.39°)
OKLaboklab(57.14% -0.1329 0.0997)
OKLCHoklch(57.14% 0.166 143.1)
XYZxyz(11.1542, 20.2823, 5.5171)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F2A #8F298E
analogous
#5B8F29 #298F2A #298F5D
triadic
#298F2A #2A298F #8F2A29
tetradic
#298F2A #295B8F #8F298E #8F5D29
square
#298F2A #295B8F #8F298E #8F5D29
split-complementary
#298F2A #5D298F #8F295B
monochromatic
#0E300E #1B5F1C #298F2A #37BF38 #61D262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298F2A#FFFFFF#000000##000000
##298F2A1.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)
#92811B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#098B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f2a;
/* rgb */ color: rgb(41, 143, 42);
/* oklch */ color: oklch(57.1% 0.166 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b169',
    500: '#298f2a',
    950: '#000000',
  },
}
SCSS
$custom: #298f2a;
$custom-light: #72b169;
$custom-dark: #000000;
JSON
{
  "hex": "#298f2a",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 120.588,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.16614,
    "h": 143.1
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#298F2A
secondary
#B75CB6
accent
#49DDDF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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