#298F19#298F19

#298F19 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#298F19
RGBrgb(41, 143, 25)
HSLhsl(112, 70%, 33%)
HSVhsv(112, 83%, 56%)
CMYKcmyk(71.3%, 0%, 82.5%, 43.9%)
CIE-LABlab(52.05, -50.29, 49.53)
CIE-LCHlch(52.05, 70.59, 135.44°)
OKLaboklab(57.01% -0.1373 0.1099)
OKLCHoklch(57.01% 0.176 141.3)
XYZxyz(10.9118, 20.1853, 4.2406)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F19 #7F198F
analogous
#648F19 #298F19 #198F44
triadic
#298F19 #19298F #8F1929
tetradic
#298F19 #19648F #7F198F #8F4419
square
#298F19 #19648F #7F198F #8F4419
split-complementary
#298F19 #44198F #8F1964
monochromatic
#0B2707 #1A5B10 #298F19 #38C322 #59DE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298F19#FFFFFF#000000##000000
##298F191.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)
#877928
Tritanopia (blue-blind)
#108A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f19;
/* rgb */ color: rgb(41, 143, 25);
/* oklch */ color: oklch(57.0% 0.176 141.3);
Tailwind
colors: {
  custom: {
    50: '#73b161',
    500: '#298f19',
    950: '#000000',
  },
}
SCSS
$custom: #298f19;
$custom-light: #73b161;
$custom-dark: #000000;
JSON
{
  "hex": "#298f19",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 111.864,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.1759,
    "h": 141.3
  },
  "luminance": 0.20187
}

Semantic roles & 50–950 ramp

primary
#298F19
secondary
#AF44BF
accent
#3BEDD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298F19

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

Preview Lab → · Contrast checker → · Palette generator →

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