#298C20#298C20

#298C20 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.169 H 141.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#298C20
RGBrgb(41, 140, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 77%, 55%)
CMYKcmyk(70.7%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.07, -48.79, 46.28)
CIE-LCHlch(51.07, 67.25, 136.51°)
OKLaboklab(56.22% -0.1329 0.1041)
OKLCHoklch(56.22% 0.169 141.9)
XYZxyz(10.5527, 19.3307, 4.5413)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C20 #83208C
analogous
#5F8C20 #298C20 #208C4D
triadic
#298C20 #20298C #8C2029
tetradic
#298C20 #205F8C #83208C #8C4D20
square
#298C20 #205F8C #83208C #8C4D20
split-complementary
#298C20 #4D208C #8C205F
monochromatic
#0C2809 #1A5A15 #298C20 #38BE2B #5BD750

Accessibility & contrast

On white

4.32
#298C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#298C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C20#FFFFFF#000000##000000
##298C201.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#84772C
Tritanopia (blue-blind)
#108877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c20;
/* rgb */ color: rgb(41, 140, 32);
/* oklch */ color: oklch(56.2% 0.169 141.9);
Tailwind
colors: {
  custom: {
    50: '#72af64',
    500: '#298c20',
    950: '#000000',
  },
}
SCSS
$custom: #298c20;
$custom-light: #72af64;
$custom-dark: #000000;
JSON
{
  "hex": "#298c20",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 115,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.16887,
    "h": 141.9
  },
  "luminance": 0.19332
}

Semantic roles & 50–950 ramp

primary
#298C20
secondary
#B14EBA
accent
#42E6D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298C20

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

Preview Lab → · Contrast checker → · Palette generator →

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