#298822#298822

#298822 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.163 H 142.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#298822
RGBrgb(41, 136, 34)
HSLhsl(116, 60%, 33%)
HSVhsv(116, 75%, 53%)
CMYKcmyk(69.9%, 0%, 75%, 46.7%)
CIE-LABlab(49.73, -47.23, 44.19)
CIE-LCHlch(49.73, 64.68, 136.90°)
OKLaboklab(55.11% -0.1286 0.1001)
OKLCHoklch(55.11% 0.163 142.1)
XYZxyz(10.0068, 18.1942, 4.4975)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298822 #812288
analogous
#5C8822 #298822 #22884E
triadic
#298822 #222988 #882229
tetradic
#298822 #225C88 #812288 #884E22
square
#298822 #225C88 #812288 #884E22
split-complementary
#298822 #4E2288 #88225C
monochromatic
#0B260A #1A5716 #298822 #38B92E #5AD351

Accessibility & contrast

On white

4.53
#298822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#298822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298822
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298822#FFFFFF#000000##000000
##2988221.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#128474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298822;
/* rgb */ color: rgb(41, 136, 34);
/* oklch */ color: oklch(55.1% 0.163 142.1);
Tailwind
colors: {
  custom: {
    50: '#71ac64',
    500: '#298822',
    950: '#000000',
  },
}
SCSS
$custom: #298822;
$custom-light: #71ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#298822",
  "rgb": {
    "r": 41,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 115.882,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.16294,
    "h": 142.1
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

primary
#298822
secondary
#B04FB7
accent
#45E3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298822

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

Preview Lab → · Contrast checker → · Palette generator →

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