#298D1E#298D1E

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

Color values

HEX#298D1E
RGBrgb(41, 141, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 55%)
CMYKcmyk(70.9%, 0%, 78.7%, 44.7%)
CIE-LABlab(51.40, -49.28, 47.30)
CIE-LCHlch(51.40, 68.31, 136.17°)
OKLaboklab(56.48% -0.1344 0.106)
OKLCHoklch(56.48% 0.171 141.7)
XYZxyz(10.6731, 19.6138, 4.4514)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D1E #821E8D
analogous
#608D1E #298D1E #1E8D4A
triadic
#298D1E #1E298D #8D1E29
tetradic
#298D1E #1E608D #821E8D #8D4A1E
square
#298D1E #1E608D #821E8D #8D4A1E
split-complementary
#298D1E #4A1E8D #8D1E60
monochromatic
#0C2809 #1A5B13 #298D1E #38BF29 #5AD94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D1E#FFFFFF#000000##000000
##298D1E1.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)
#917F02
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#108878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d1e;
/* rgb */ color: rgb(41, 141, 30);
/* oklch */ color: oklch(56.5% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#73af63',
    500: '#298d1e',
    950: '#000000',
  },
}
SCSS
$custom: #298d1e;
$custom-light: #73af63;
$custom-dark: #000000;
JSON
{
  "hex": "#298d1e",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 114.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56484,
    "c": 0.17114,
    "h": 141.7
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#298D1E
secondary
#B04BBC
accent
#40E8D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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