#298F22#298F22

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

Color values

HEX#298F22
RGBrgb(41, 143, 34)
HSLhsl(116, 62%, 35%)
HSVhsv(116, 76%, 56%)
CMYKcmyk(71.3%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.10, -49.67, 46.58)
CIE-LCHlch(52.10, 68.09, 136.84°)
OKLaboklab(57.07% -0.1352 0.105)
OKLCHoklch(57.07% 0.171 142.2)
XYZxyz(11.0250, 20.2306, 4.8369)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F22 #88228F
analogous
#5F8F22 #298F22 #228F52
triadic
#298F22 #22298F #8F2229
tetradic
#298F22 #225F8F #88228F #8F5222
square
#298F22 #225F8F #88228F #8F5222
split-complementary
#298F22 #52228F #8F225F
monochromatic
#0D2C0A #1B5E16 #298F22 #37C02E #5DD755

Accessibility & contrast

On white

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

On black

5.05
#298F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F22#FFFFFF#000000##000000
##298F221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#0D8B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f22;
/* rgb */ color: rgb(41, 143, 34);
/* oklch */ color: oklch(57.1% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b165',
    500: '#298f22',
    950: '#000000',
  },
}
SCSS
$custom: #298f22;
$custom-light: #73b165;
$custom-dark: #000000;
JSON
{
  "hex": "#298f22",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 116.147,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.17123,
    "h": 142.2
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#298F22
secondary
#B452BA
accent
#43E5DA
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298F22

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

Preview Lab → · Contrast checker → · Palette generator →

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