#298918#298918

#298918 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.170 H 141.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#298918
RGBrgb(41, 137, 24)
HSLhsl(111, 70%, 32%)
HSVhsv(111, 82%, 54%)
CMYKcmyk(70.1%, 0%, 82.5%, 46.3%)
CIE-LABlab(50.01, -48.29, 47.93)
CIE-LCHlch(50.01, 68.04, 135.22°)
OKLaboklab(55.32% -0.132 0.1064)
OKLCHoklch(55.32% 0.17 141.1)
XYZxyz(10.0245, 18.4276, 3.8926)
Luminance0.1843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298918 #781889
analogous
#628918 #298918 #18893F
triadic
#298918 #182989 #891829
tetradic
#298918 #186289 #781889 #893F18
square
#298918 #186289 #781889 #893F18
split-complementary
#298918 #3F1889 #891862
monochromatic
#0A2106 #19550F #298918 #39BD21 #56DD3E

Accessibility & contrast

On white

4.48
#298918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#298918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298918
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298918#FFFFFF#000000##000000
##2989181.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#148474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #298918;
/* rgb */ color: rgb(41, 137, 24);
/* oklch */ color: oklch(55.3% 0.170 141.1);
Tailwind
colors: {
  custom: {
    50: '#72ac60',
    500: '#298918',
    950: '#000000',
  },
}
SCSS
$custom: #298918;
$custom-light: #72ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#298918",
  "rgb": {
    "r": 41,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 110.973,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.16956,
    "h": 141.1
  },
  "luminance": 0.18429
}

Semantic roles & 50–950 ramp

primary
#298918
secondary
#AA40BD
accent
#3BEDD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298918

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

Preview Lab → · Contrast checker → · Palette generator →

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