#298C1C#298C1C

#298C1C is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.171 H 141.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#298C1C
RGBrgb(41, 140, 28)
HSLhsl(113, 67%, 33%)
HSVhsv(113, 80%, 55%)
CMYKcmyk(70.7%, 0%, 80%, 45.1%)
CIE-LABlab(51.05, -49.08, 47.64)
CIE-LCHlch(51.05, 68.40, 135.85°)
OKLaboklab(56.19% -0.1339 0.1064)
OKLCHoklch(56.19% 0.171 141.5)
XYZxyz(10.5016, 19.3103, 4.2722)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C1C #7F1C8C
analogous
#618C1C #298C1C #1C8C47
triadic
#298C1C #1C298C #8C1C29
tetradic
#298C1C #1C618C #7F1C8C #8C471C
square
#298C1C #1C618C #7F1C8C #8C471C
split-complementary
#298C1C #471C8C #8C1C61
monochromatic
#0B2608 #1A5912 #298C1C #38BF26 #59DA48

Accessibility & contrast

On white

4.32
#298C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#298C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C1C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C1C#FFFFFF#000000##000000
##298C1C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#118777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c1c;
/* rgb */ color: rgb(41, 140, 28);
/* oklch */ color: oklch(56.2% 0.171 141.5);
Tailwind
colors: {
  custom: {
    50: '#72af62',
    500: '#298c1c',
    950: '#000000',
  },
}
SCSS
$custom: #298c1c;
$custom-light: #72af62;
$custom-dark: #000000;
JSON
{
  "hex": "#298c1c",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 113.036,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.17103,
    "h": 141.5
  },
  "luminance": 0.19311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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