#298022#298022

#298022 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.153 H 142.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#298022
RGBrgb(41, 128, 34)
HSLhsl(116, 58%, 32%)
HSVhsv(116, 73%, 50%)
CMYKcmyk(68%, 0%, 73.4%, 49.8%)
CIE-LABlab(47.01, -44.34, 41.40)
CIE-LCHlch(47.01, 60.67, 136.97°)
OKLaboklab(52.85% -0.1208 0.0942)
OKLCHoklch(52.85% 0.153 142)
XYZxyz(8.9219, 16.0243, 4.1359)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298022 #792280
analogous
#588022 #298022 #22804A
triadic
#298022 #222980 #802229
tetradic
#298022 #225880 #792280 #804A22
square
#298022 #225880 #792280 #804A22
split-complementary
#298022 #4A2280 #802258
monochromatic
#0A1F08 #1A5015 #298022 #38B02F #56D04D

Accessibility & contrast

On white

4.99
#298022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#298022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298022
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298022#FFFFFF#000000##FFFFFF
##2980221.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298022;
/* rgb */ color: rgb(41, 128, 34);
/* oklch */ color: oklch(52.9% 0.153 142.0);
Tailwind
colors: {
  custom: {
    50: '#6fa663',
    500: '#298022',
    950: '#000000',
  },
}
SCSS
$custom: #298022;
$custom-light: #6fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#298022",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 115.532,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52852,
    "c": 0.15321,
    "h": 142
  },
  "luminance": 0.16025
}

Semantic roles & 50–950 ramp

primary
#298022
secondary
#AB4BB2
accent
#47E1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #298022

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

Preview Lab → · Contrast checker → · Palette generator →

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