#298F20#298F20

#298F20 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.172 H 142.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F20
RGBrgb(41, 143, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 78%, 56%)
CMYKcmyk(71.3%, 0%, 77.6%, 43.9%)
CIE-LABlab(52.08, -49.83, 47.28)
CIE-LCHlch(52.08, 68.69, 136.50°)
OKLaboklab(57.06% -0.1357 0.1062)
OKLCHoklch(57.06% 0.172 142)
XYZxyz(10.9970, 20.2194, 4.6894)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F20 #86208F
analogous
#618F20 #298F20 #208F4F
triadic
#298F20 #20298F #8F2029
tetradic
#298F20 #20618F #86208F #8F4F20
square
#298F20 #20618F #86208F #8F4F20
split-complementary
#298F20 #4F208F #8F2061
monochromatic
#0C2B0A #1B5D15 #298F20 #37C12B #5CD851

Accessibility & contrast

On white

4.16
#298F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F20
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F20#FFFFFF#000000##000000
##298F201.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#0D8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f20;
/* rgb */ color: rgb(41, 143, 32);
/* oklch */ color: oklch(57.1% 0.172 142.0);
Tailwind
colors: {
  custom: {
    50: '#73b164',
    500: '#298f20',
    950: '#000000',
  },
}
SCSS
$custom: #298f20;
$custom-light: #73b164;
$custom-dark: #000000;
JSON
{
  "hex": "#298f20",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 115.135,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.17236,
    "h": 142
  },
  "luminance": 0.20221
}

Semantic roles & 50–950 ramp

primary
#298F20
secondary
#B34FBB
accent
#41E6D9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298F20

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

Preview Lab → · Contrast checker → · Palette generator →

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