#298518#298518

#298518 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.165 H 141.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#298518
RGBrgb(41, 133, 24)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 82%, 52%)
CMYKcmyk(69.2%, 0%, 82%, 47.8%)
CIE-LABlab(48.65, -46.90, 46.65)
CIE-LCHlch(48.65, 66.15, 135.15°)
OKLaboklab(54.19% -0.1282 0.1037)
OKLCHoklch(54.19% 0.165 141)
XYZxyz(9.4664, 17.3114, 3.7065)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298518 #741885
analogous
#5F8518 #298518 #18853D
triadic
#298518 #182985 #851829
tetradic
#298518 #185F85 #741885 #853D18
square
#298518 #185F85 #741885 #853D18
split-complementary
#298518 #3D1885 #85185F
monochromatic
#091D05 #19510F #298518 #39B921 #55DC3C

Accessibility & contrast

On white

4.71
#298518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#298518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298518
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298518#FFFFFF#000000##FFFFFF
##2985181.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#168171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298518;
/* rgb */ color: rgb(41, 133, 24);
/* oklch */ color: oklch(54.2% 0.165 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a95f',
    500: '#298518',
    950: '#000000',
  },
}
SCSS
$custom: #298518;
$custom-light: #71a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#298518",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 110.642,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.16494,
    "h": 141
  },
  "luminance": 0.17312
}

Semantic roles & 50–950 ramp

primary
#298518
secondary
#A640B9
accent
#3CECD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298518

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

Preview Lab → · Contrast checker → · Palette generator →

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