#298020#298020

#298020 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.155 H 141.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#298020
RGBrgb(41, 128, 32)
HSLhsl(114, 60%, 31%)
HSVhsv(114, 75%, 50%)
CMYKcmyk(68%, 0%, 75%, 49.8%)
CIE-LABlab(46.99, -44.52, 42.18)
CIE-LCHlch(46.99, 61.33, 136.54°)
OKLaboklab(52.84% -0.1214 0.0956)
OKLCHoklch(52.84% 0.155 141.8)
XYZxyz(8.8939, 16.0131, 3.9884)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298020 #772080
analogous
#598020 #298020 #208047
triadic
#298020 #202980 #802029
tetradic
#298020 #205980 #772080 #804720
square
#298020 #205980 #772080 #804720
split-complementary
#298020 #472080 #802059
monochromatic
#0A1E08 #194F14 #298020 #39B12C #56D149

Accessibility & contrast

On white

5.00
#298020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #298020
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298020#FFFFFF#000000##FFFFFF
##2980201.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#177C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298020;
/* rgb */ color: rgb(41, 128, 32);
/* oklch */ color: oklch(52.8% 0.155 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a662',
    500: '#298020',
    950: '#000000',
  },
}
SCSS
$custom: #298020;
$custom-light: #70a662;
$custom-dark: #000000;
JSON
{
  "hex": "#298020",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 114.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52836,
    "c": 0.15451,
    "h": 141.8
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#298020
secondary
#A949B3
accent
#45E3D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #298020

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

Preview Lab → · Contrast checker → · Palette generator →

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