#298C1A#298C1A

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

Color values

HEX#298C1A
RGBrgb(41, 140, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 81%, 55%)
CMYKcmyk(70.7%, 0%, 81.4%, 45.1%)
CIE-LABlab(51.04, -49.21, 48.27)
CIE-LCHlch(51.04, 68.93, 135.55°)
OKLaboklab(56.18% -0.1344 0.1074)
OKLCHoklch(56.18% 0.172 141.4)
XYZxyz(10.4784, 19.3010, 4.1503)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C1A #7D1A8C
analogous
#628C1A #298C1A #1A8C44
triadic
#298C1A #1A298C #8C1A29
tetradic
#298C1A #1A628C #7D1A8C #8C441A
square
#298C1A #1A628C #7D1A8C #8C441A
split-complementary
#298C1A #441A8C #8C1A62
monochromatic
#0B2507 #1A5810 #298C1A #38C024 #58DC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298C1A#FFFFFF#000000##000000
##298C1A1.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)
#847728
Tritanopia (blue-blind)
#128777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c1a;
/* rgb */ color: rgb(41, 140, 26);
/* oklch */ color: oklch(56.2% 0.172 141.4);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#298c1a',
    950: '#000000',
  },
}
SCSS
$custom: #298c1a;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#298c1a",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 112.105,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.17203,
    "h": 141.4
  },
  "luminance": 0.19302
}

Semantic roles & 50–950 ramp

primary
#298C1A
secondary
#AE44BE
accent
#3CECD4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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