#298C3A#298C3A

#298C3A is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.150 H 146.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#298C3A
RGBrgb(41, 140, 58)
HSLhsl(130, 55%, 35%)
HSVhsv(130, 71%, 55%)
CMYKcmyk(70.7%, 0%, 58.6%, 45.1%)
CIE-LABlab(51.30, -46.03, 35.20)
CIE-LCHlch(51.30, 57.95, 142.59°)
OKLaboklab(56.48% -0.1242 0.0836)
OKLCHoklch(56.48% 0.15 146.1)
XYZxyz(11.0555, 19.5319, 7.1896)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C3A #8C297B
analogous
#498C29 #298C3A #298C6B
triadic
#298C3A #3A298C #8C3A29
tetradic
#298C3A #29498C #8C297B #8C6B29
square
#298C3A #29498C #8C297B #8C6B29
split-complementary
#298C3A #6B298C #8C2949
monochromatic
#0D2D13 #1B5D26 #298C3A #37BB4E #5FD073

Accessibility & contrast

On white

4.28
#298C3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#298C3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C3A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C3A#FFFFFF#000000##000000
##298C3A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F32
Deuteranopia (green-blind)
#827740
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c3a;
/* rgb */ color: rgb(41, 140, 58);
/* oklch */ color: oklch(56.5% 0.150 146.1);
Tailwind
colors: {
  custom: {
    50: '#71af73',
    500: '#298c3a',
    950: '#000000',
  },
}
SCSS
$custom: #298c3a;
$custom-light: #71af73;
$custom-dark: #000000;
JSON
{
  "hex": "#298c3a",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 58
  },
  "hsl": {
    "h": 130.303,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.14974,
    "h": 146.1
  },
  "luminance": 0.19533
}

Semantic roles & 50–950 ramp

primary
#298C3A
secondary
#B65BA6
accent
#4AC5DE
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #298C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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