#298D1A#298D1A

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

Color values

HEX#298D1A
RGBrgb(41, 141, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 55%)
CMYKcmyk(70.9%, 0%, 81.6%, 44.7%)
CIE-LABlab(51.38, -49.55, 48.59)
CIE-LCHlch(51.38, 69.40, 135.56°)
OKLaboklab(56.46% -0.1353 0.1081)
OKLCHoklch(56.46% 0.173 141.4)
XYZxyz(10.6252, 19.5946, 4.1993)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D1A #7E1A8D
analogous
#628D1A #298D1A #1A8D45
triadic
#298D1A #1A298D #8D1A29
tetradic
#298D1A #1A628D #7E1A8D #8D451A
square
#298D1A #1A628D #7E1A8D #8D451A
split-complementary
#298D1A #451A8D #8D1A62
monochromatic
#0B2607 #1A5910 #298D1A #38C124 #59DD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #298d1a;
/* rgb */ color: rgb(41, 141, 26);
/* oklch */ color: oklch(56.5% 0.173 141.4);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#298d1a',
    950: '#000000',
  },
}
SCSS
$custom: #298d1a;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#298d1a",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 112.174,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.17317,
    "h": 141.4
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#298D1A
secondary
#AE45BE
accent
#3CECD5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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