#298A20#298A20

#298A20 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.167 H 141.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298A20
RGBrgb(41, 138, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 77%, 54%)
CMYKcmyk(70.3%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.40, -48.09, 45.61)
CIE-LCHlch(50.40, 66.28, 136.52°)
OKLaboklab(55.66% -0.131 0.1027)
OKLCHoklch(55.66% 0.167 141.9)
XYZxyz(10.2631, 18.7516, 4.4448)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298A20 #81208A
analogous
#5E8A20 #298A20 #208A4C
triadic
#298A20 #20298A #8A2029
tetradic
#298A20 #205E8A #81208A #8A4C20
square
#298A20 #205E8A #81208A #8A4C20
split-complementary
#298A20 #4C208A #8A205E
monochromatic
#0B2709 #1A5814 #298A20 #38BC2C #5AD64E

Accessibility & contrast

On white

4.42
#298A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#298A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298A20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298A20#FFFFFF#000000##000000
##298A201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D09
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#118676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #298a20;
/* rgb */ color: rgb(41, 138, 32);
/* oklch */ color: oklch(55.7% 0.167 141.9);
Tailwind
colors: {
  custom: {
    50: '#72ad63',
    500: '#298a20',
    950: '#000000',
  },
}
SCSS
$custom: #298a20;
$custom-light: #72ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#298a20",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 114.906,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.16652,
    "h": 141.9
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#298A20
secondary
#B04DB9
accent
#42E5D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298A20

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

Preview Lab → · Contrast checker → · Palette generator →

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