#298C22#298C22

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

Color values

HEX#298C22
RGBrgb(41, 140, 34)
HSLhsl(116, 61%, 34%)
HSVhsv(116, 76%, 55%)
CMYKcmyk(70.7%, 0%, 75.7%, 45.1%)
CIE-LABlab(51.08, -48.63, 45.56)
CIE-LCHlch(51.08, 66.64, 136.87°)
OKLaboklab(56.23% -0.1324 0.1029)
OKLCHoklch(56.23% 0.168 142.1)
XYZxyz(10.5807, 19.3419, 4.6888)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C22 #85228C
analogous
#5E8C22 #298C22 #228C50
triadic
#298C22 #22298C #8C2229
tetradic
#298C22 #225E8C #85228C #8C5022
square
#298C22 #225E8C #85228C #8C5022
split-complementary
#298C22 #50228C #8C225E
monochromatic
#0C2A0A #1B5B16 #298C22 #37BD2E #5CD553

Accessibility & contrast

On white

4.31
#298C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##298C22#FFFFFF#000000##000000
##298C221.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0D
Deuteranopia (green-blind)
#84772D
Tritanopia (blue-blind)
#0F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c22;
/* rgb */ color: rgb(41, 140, 34);
/* oklch */ color: oklch(56.2% 0.168 142.1);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#298c22',
    950: '#000000',
  },
}
SCSS
$custom: #298c22;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#298c22",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 116.038,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56233,
    "c": 0.1677,
    "h": 142.1
  },
  "luminance": 0.19343
}

Semantic roles & 50–950 ramp

primary
#298C22
secondary
#B251B9
accent
#44E4D9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298C22

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

Preview Lab → · Contrast checker → · Palette generator →

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