#298522#298522

#298522 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.159 H 142.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#298522
RGBrgb(41, 133, 34)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 52%)
CMYKcmyk(69.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.71, -46.16, 43.16)
CIE-LCHlch(48.71, 63.19, 136.92°)
OKLaboklab(54.26% -0.1257 0.0979)
OKLCHoklch(54.26% 0.159 142.1)
XYZxyz(9.5902, 17.3610, 4.3587)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298522 #7E2285
analogous
#5A8522 #298522 #22854D
triadic
#298522 #222985 #852229
tetradic
#298522 #225A85 #7E2285 #854D22
square
#298522 #225A85 #7E2285 #854D22
split-complementary
#298522 #4D2285 #85225A
monochromatic
#0B2409 #1A5416 #298522 #38B62E #59D24F

Accessibility & contrast

On white

4.70
#298522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#298522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298522
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298522#FFFFFF#000000##FFFFFF
##2985221.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887811
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#148172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298522;
/* rgb */ color: rgb(41, 133, 34);
/* oklch */ color: oklch(54.3% 0.159 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a964',
    500: '#298522',
    950: '#000000',
  },
}
SCSS
$custom: #298522;
$custom-light: #71a964;
$custom-dark: #000000;
JSON
{
  "hex": "#298522",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 115.758,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54265,
    "c": 0.15933,
    "h": 142.1
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#298522
secondary
#AE4DB6
accent
#45E2D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298522

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

Preview Lab → · Contrast checker → · Palette generator →

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