#298D15#298D15

#298D15 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.175 H 141.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#298D15
RGBrgb(41, 141, 21)
HSLhsl(110, 74%, 32%)
HSVhsv(110, 85%, 55%)
CMYKcmyk(70.9%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.35, -49.84, 50.03)
CIE-LCHlch(51.35, 70.61, 134.89°)
OKLaboklab(56.43% -0.1363 0.1104)
OKLCHoklch(56.43% 0.175 141)
XYZxyz(10.5741, 19.5742, 3.9303)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D15 #79158D
analogous
#658D15 #298D15 #158D3D
triadic
#298D15 #15298D #8D1529
tetradic
#298D15 #15658D #79158D #8D3D15
square
#298D15 #15658D #79158D #8D3D15
split-complementary
#298D15 #3D158D #8D1565
monochromatic
#0A2205 #1A580D #298D15 #38C21D #56E23B

Accessibility & contrast

On white

4.27
#298D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#298D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D15
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D15#FFFFFF#000000##000000
##298D151.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#128878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d15;
/* rgb */ color: rgb(41, 141, 21);
/* oklch */ color: oklch(56.4% 0.175 141.0);
Tailwind
colors: {
  custom: {
    50: '#73af5f',
    500: '#298d15',
    950: '#000000',
  },
}
SCSS
$custom: #298d15;
$custom-light: #73af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#298d15",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 110,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.17538,
    "h": 141
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#298D15
secondary
#AB3DC1
accent
#37F1D2
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298D15

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

Preview Lab → · Contrast checker → · Palette generator →

#298D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva