#298018#298018

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

Color values

HEX#298018
RGBrgb(41, 128, 24)
HSLhsl(110, 68%, 30%)
HSVhsv(110, 81%, 50%)
CMYKcmyk(68%, 0%, 81.3%, 49.8%)
CIE-LABlab(46.94, -45.12, 45.03)
CIE-LCHlch(46.94, 63.74, 135.06°)
OKLaboklab(52.78% -0.1234 0.1004)
OKLCHoklch(52.78% 0.159 140.9)
XYZxyz(8.7980, 15.9748, 3.4838)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298018 #6F1880
analogous
#5D8018 #298018 #18803B
triadic
#298018 #182980 #801829
tetradic
#298018 #185D80 #6F1880 #803B18
square
#298018 #185D80 #6F1880 #803B18
split-complementary
#298018 #3B1880 #80185D
monochromatic
#081A05 #184C0E #298018 #3AB422 #53DA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298018#FFFFFF#000000##FFFFFF
##2980181.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #298018;
/* rgb */ color: rgb(41, 128, 24);
/* oklch */ color: oklch(52.8% 0.159 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#298018',
    950: '#000000',
  },
}
SCSS
$custom: #298018;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#298018",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 110.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.15909,
    "h": 140.9
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#298018
secondary
#A140B4
accent
#3DEBCF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #298018

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

Preview Lab → · Contrast checker → · Palette generator →

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