#298118#298118

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

Color values

HEX#298118
RGBrgb(41, 129, 24)
HSLhsl(110, 69%, 30%)
HSVhsv(110, 81%, 51%)
CMYKcmyk(68.2%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.28, -45.48, 45.35)
CIE-LCHlch(47.28, 64.23, 135.08°)
OKLaboklab(53.06% -0.1244 0.101)
OKLCHoklch(53.06% 0.16 140.9)
XYZxyz(8.9291, 16.2370, 3.5275)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298118 #701881
analogous
#5D8118 #298118 #18813C
triadic
#298118 #182981 #811829
tetradic
#298118 #185D81 #701881 #813C18
square
#298118 #185D81 #701881 #813C18
split-complementary
#298118 #3C1881 #81185D
monochromatic
#081A05 #194D0E #298118 #39B522 #53DA39

Accessibility & contrast

On white

4.94
#298118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#298118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298118
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298118#FFFFFF#000000##FFFFFF
##2981181.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D24
Tritanopia (blue-blind)
#187D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298118;
/* rgb */ color: rgb(41, 129, 24);
/* oklch */ color: oklch(53.1% 0.160 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a65e',
    500: '#298118',
    950: '#000000',
  },
}
SCSS
$custom: #298118;
$custom-light: #70a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#298118",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 110.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53062,
    "c": 0.16027,
    "h": 140.9
  },
  "luminance": 0.16238
}

Semantic roles & 50–950 ramp

primary
#298118
secondary
#A240B5
accent
#3CEBCF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #298118

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

Preview Lab → · Contrast checker → · Palette generator →

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