#298222#298222

#298222 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.156 H 142.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#298222
RGBrgb(41, 130, 34)
HSLhsl(116, 59%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(68.5%, 0%, 73.8%, 49%)
CIE-LABlab(47.69, -45.07, 42.11)
CIE-LCHlch(47.69, 61.68, 136.95°)
OKLaboklab(53.42% -0.1228 0.0957)
OKLCHoklch(53.42% 0.156 142.1)
XYZxyz(9.1853, 16.5512, 4.2237)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298222 #7B2282
analogous
#598222 #298222 #22824B
triadic
#298222 #222982 #822229
tetradic
#298222 #225982 #7B2282 #824B22
square
#298222 #225982 #7B2282 #824B22
split-complementary
#298222 #4B2282 #822259
monochromatic
#0A2109 #1A5115 #298222 #38B32F #57D14E

Accessibility & contrast

On white

4.87
#298222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#298222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298222
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298222#FFFFFF#000000##FFFFFF
##2982221.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7B6E2C
Tritanopia (blue-blind)
#167E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298222;
/* rgb */ color: rgb(41, 130, 34);
/* oklch */ color: oklch(53.4% 0.156 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a763',
    500: '#298222',
    950: '#000000',
  },
}
SCSS
$custom: #298222;
$custom-light: #70a763;
$custom-dark: #000000;
JSON
{
  "hex": "#298222",
  "rgb": {
    "r": 41,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 115.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.15567,
    "h": 142.1
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#298222
secondary
#AC4CB4
accent
#46E2D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #298222

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

Preview Lab → · Contrast checker → · Palette generator →

#298222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva