#298A1C#298A1C

#298A1C is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.169 H 141.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298A1C
RGBrgb(41, 138, 28)
HSLhsl(113, 66%, 33%)
HSVhsv(113, 80%, 54%)
CMYKcmyk(70.3%, 0%, 79.7%, 45.9%)
CIE-LABlab(50.37, -48.38, 46.99)
CIE-LCHlch(50.37, 67.44, 135.84°)
OKLaboklab(55.63% -0.132 0.105)
OKLCHoklch(55.63% 0.169 141.5)
XYZxyz(10.2120, 18.7311, 4.1757)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298A1C #7D1C8A
analogous
#608A1C #298A1C #1C8A46
triadic
#298A1C #1C298A #8A1C29
tetradic
#298A1C #1C608A #7D1C8A #8A461C
square
#298A1C #1C608A #7D1C8A #8A461C
split-complementary
#298A1C #461C8A #8A1C60
monochromatic
#0B2407 #1A5712 #298A1C #38BD26 #58DA47

Accessibility & contrast

On white

4.42
#298A1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#298A1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298A1C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298A1C#FFFFFF#000000##000000
##298A1C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#128675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #298a1c;
/* rgb */ color: rgb(41, 138, 28);
/* oklch */ color: oklch(55.6% 0.169 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ad61',
    500: '#298a1c',
    950: '#000000',
  },
}
SCSS
$custom: #298a1c;
$custom-light: #72ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#298a1c",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 112.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.16872,
    "h": 141.5
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#298A1C
secondary
#AE46BB
accent
#3FE9D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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