#298D1C#298D1C

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

Color values

HEX#298D1C
RGBrgb(41, 141, 28)
HSLhsl(113, 67%, 33%)
HSVhsv(113, 80%, 55%)
CMYKcmyk(70.9%, 0%, 80.1%, 44.7%)
CIE-LABlab(51.39, -49.42, 47.96)
CIE-LCHlch(51.39, 68.87, 135.86°)
OKLaboklab(56.47% -0.1348 0.1071)
OKLCHoklch(56.47% 0.172 141.5)
XYZxyz(10.6483, 19.6039, 4.3211)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D1C #801C8D
analogous
#618D1C #298D1C #1C8D47
triadic
#298D1C #1C298D #8D1C29
tetradic
#298D1C #1C618D #801C8D #8D471C
square
#298D1C #1C618D #801C8D #8D471C
split-complementary
#298D1C #471C8D #8D1C61
monochromatic
#0B2708 #1A5A12 #298D1C #38C026 #59DB49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298D1C#FFFFFF#000000##000000
##298D1C1.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)
#108878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298d1c;
/* rgb */ color: rgb(41, 141, 28);
/* oklch */ color: oklch(56.5% 0.172 141.5);
Tailwind
colors: {
  custom: {
    50: '#73af62',
    500: '#298d1c',
    950: '#000000',
  },
}
SCSS
$custom: #298d1c;
$custom-light: #73af62;
$custom-dark: #000000;
JSON
{
  "hex": "#298d1c",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 113.097,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56471,
    "c": 0.17218,
    "h": 141.5
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

primary
#298D1C
secondary
#AF48BD
accent
#3EEAD6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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