#298520#298520

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

Color values

HEX#298520
RGBrgb(41, 133, 32)
HSLhsl(115, 61%, 32%)
HSVhsv(115, 76%, 52%)
CMYKcmyk(69.2%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.70, -46.32, 43.91)
CIE-LCHlch(48.70, 63.83, 136.53°)
OKLaboklab(54.25% -0.1263 0.0992)
OKLCHoklch(54.25% 0.161 141.8)
XYZxyz(9.5622, 17.3498, 4.2111)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298520 #7C2085
analogous
#5C8520 #298520 #208549
triadic
#298520 #202985 #852029
tetradic
#298520 #205C85 #7C2085 #854920
square
#298520 #205C85 #7C2085 #854920
split-complementary
#298520 #492085 #85205C
monochromatic
#0B2208 #1A5414 #298520 #38B62C #58D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298520#FFFFFF#000000##FFFFFF
##2985201.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)
#88780C
Deuteranopia (green-blind)
#7D712B
Tritanopia (blue-blind)
#158171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298520;
/* rgb */ color: rgb(41, 133, 32);
/* oklch */ color: oklch(54.2% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#71a963',
    500: '#298520',
    950: '#000000',
  },
}
SCSS
$custom: #298520;
$custom-light: #71a963;
$custom-dark: #000000;
JSON
{
  "hex": "#298520",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 114.653,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54249,
    "c": 0.16058,
    "h": 141.8
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#298520
secondary
#AD4AB7
accent
#43E4D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298520

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

Preview Lab → · Contrast checker → · Palette generator →

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