#298D19#298D19

#298D19 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.174 H 141.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#298D19
RGBrgb(41, 141, 25)
HSLhsl(112, 70%, 33%)
HSVhsv(112, 82%, 55%)
CMYKcmyk(70.9%, 0%, 82.3%, 44.7%)
CIE-LABlab(51.37, -49.61, 48.90)
CIE-LCHlch(51.37, 69.66, 135.42°)
OKLaboklab(56.45% -0.1355 0.1086)
OKLCHoklch(56.45% 0.174 141.3)
XYZxyz(10.6142, 19.5902, 4.1414)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D19 #7D198D
analogous
#638D19 #298D19 #198D43
triadic
#298D19 #19298D #8D1929
tetradic
#298D19 #19638D #7D198D #8D4319
square
#298D19 #19638D #7D198D #8D4319
split-complementary
#298D19 #43198D #8D1963
monochromatic
#0B2507 #1A5910 #298D19 #38C122 #58DE43

Accessibility & contrast

On white

4.27
#298D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#298D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D19
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D19#FFFFFF#000000##000000
##298D191.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#118878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d19;
/* rgb */ color: rgb(41, 141, 25);
/* oklch */ color: oklch(56.5% 0.174 141.3);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#298d19',
    950: '#000000',
  },
}
SCSS
$custom: #298d19;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#298d19",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 25
  },
  "hsl": {
    "h": 111.724,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.17364,
    "h": 141.3
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#298D19
secondary
#AE43BF
accent
#3BEDD4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298D19

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

Preview Lab → · Contrast checker → · Palette generator →

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