#298F18#298F18

#298F18 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.176 H 141.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F18
RGBrgb(41, 143, 24)
HSLhsl(111, 71%, 33%)
HSVhsv(111, 83%, 56%)
CMYKcmyk(71.3%, 0%, 83.2%, 43.9%)
CIE-LABlab(52.04, -50.35, 49.82)
CIE-LCHlch(52.04, 70.83, 135.30°)
OKLaboklab(57.01% -0.1375 0.1104)
OKLCHoklch(57.01% 0.176 141.3)
XYZxyz(10.9012, 20.1811, 4.1848)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F18 #7E188F
analogous
#648F18 #298F18 #188F43
triadic
#298F18 #18298F #8F1829
tetradic
#298F18 #18648F #7E188F #8F4318
square
#298F18 #18648F #7E188F #8F4318
split-complementary
#298F18 #43188F #8F1864
monochromatic
#0B2606 #1A5B0F #298F18 #38C321 #59DF42

Accessibility & contrast

On white

4.17
#298F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F18
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F18#FFFFFF#000000##000000
##298F181.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#108A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f18;
/* rgb */ color: rgb(41, 143, 24);
/* oklch */ color: oklch(57.0% 0.176 141.3);
Tailwind
colors: {
  custom: {
    50: '#73b160',
    500: '#298f18',
    950: '#000000',
  },
}
SCSS
$custom: #298f18;
$custom-light: #73b160;
$custom-dark: #000000;
JSON
{
  "hex": "#298f18",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 111.429,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57008,
    "c": 0.17635,
    "h": 141.3
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#298F18
secondary
#AE43C0
accent
#3AEED4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298F18

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

Preview Lab → · Contrast checker → · Palette generator →

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