#298D1D#298D1D

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

Color values

HEX#298D1D
RGBrgb(41, 141, 29)
HSLhsl(114, 66%, 33%)
HSVhsv(114, 79%, 55%)
CMYKcmyk(70.9%, 0%, 79.4%, 44.7%)
CIE-LABlab(51.39, -49.35, 47.64)
CIE-LCHlch(51.39, 68.59, 136.01°)
OKLaboklab(56.48% -0.1346 0.1065)
OKLCHoklch(56.48% 0.172 141.6)
XYZxyz(10.6605, 19.6087, 4.3852)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D1D #811D8D
analogous
#618D1D #298D1D #1D8D49
triadic
#298D1D #1D298D #8D1D29
tetradic
#298D1D #1D618D #811D8D #8D491D
square
#298D1D #1D618D #811D8D #8D491D
split-complementary
#298D1D #491D8D #8D1D61
monochromatic
#0B2708 #1A5A13 #298D1D #38C027 #5ADA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D1D#FFFFFF#000000##000000
##298D1D1.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)
#85772A
Tritanopia (blue-blind)
#108878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d1d;
/* rgb */ color: rgb(41, 141, 29);
/* oklch */ color: oklch(56.5% 0.172 141.6);
Tailwind
colors: {
  custom: {
    50: '#73af62',
    500: '#298d1d',
    950: '#000000',
  },
}
SCSS
$custom: #298d1d;
$custom-light: #73af62;
$custom-dark: #000000;
JSON
{
  "hex": "#298d1d",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 113.571,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.17167,
    "h": 141.6
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#298D1D
secondary
#B04ABC
accent
#3FE9D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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