#298015#298015

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

Color values

HEX#298015
RGBrgb(41, 128, 21)
HSLhsl(109, 72%, 29%)
HSVhsv(109, 84%, 50%)
CMYKcmyk(68%, 0%, 83.6%, 49.8%)
CIE-LABlab(46.93, -45.31, 45.96)
CIE-LCHlch(46.93, 64.54, 134.59°)
OKLaboklab(52.76% -0.1241 0.1019)
OKLCHoklch(52.76% 0.161 140.6)
XYZxyz(8.7685, 15.9630, 3.3284)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298015 #6C1580
analogous
#5F8015 #298015 #158037
triadic
#298015 #152980 #801529
tetradic
#298015 #155F80 #6C1580 #803715
square
#298015 #155F80 #6C1580 #803715
split-complementary
#298015 #371580 #80155F
monochromatic
#081A04 #184B0C #298015 #3AB51E #52DD32

Accessibility & contrast

On white

5.01
#298015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#298015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298015
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298015#FFFFFF#000000##FFFFFF
##2980151.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#197C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #298015;
/* rgb */ color: rgb(41, 128, 21);
/* oklch */ color: oklch(52.8% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a65d',
    500: '#298015',
    950: '#000000',
  },
}
SCSS
$custom: #298015;
$custom-light: #70a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#298015",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 108.785,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.16054,
    "h": 140.6
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#298015
secondary
#9E3CB5
accent
#39EFCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #298015

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

Preview Lab → · Contrast checker → · Palette generator →

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