#298D1B#298D1B

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

Color values

HEX#298D1B
RGBrgb(41, 141, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 55%)
CMYKcmyk(70.9%, 0%, 80.9%, 44.7%)
CIE-LABlab(51.38, -49.49, 48.28)
CIE-LCHlch(51.38, 69.14, 135.71°)
OKLaboklab(56.47% -0.1351 0.1076)
OKLCHoklch(56.47% 0.173 141.5)
XYZxyz(10.6366, 19.5992, 4.2592)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D1B #7F1B8D
analogous
#628D1B #298D1B #1B8D46
triadic
#298D1B #1B298D #8D1B29
tetradic
#298D1B #1B628D #7F1B8D #8D461B
square
#298D1B #1B628D #7F1B8D #8D461B
split-complementary
#298D1B #461B8D #8D1B62
monochromatic
#0B2607 #1A5A11 #298D1B #38C025 #59DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D1B#FFFFFF#000000##000000
##298D1B1.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)
#857729
Tritanopia (blue-blind)
#118878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d1b;
/* rgb */ color: rgb(41, 141, 27);
/* oklch */ color: oklch(56.5% 0.173 141.5);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#298d1b',
    950: '#000000',
  },
}
SCSS
$custom: #298d1b;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#298d1b",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 112.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56465,
    "c": 0.17268,
    "h": 141.5
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#298D1B
secondary
#AF46BD
accent
#3DEBD5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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