#298E1A#298E1A

#298E1A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 141.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#298E1A
RGBrgb(41, 142, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 56%)
CMYKcmyk(71.1%, 0%, 81.7%, 44.3%)
CIE-LABlab(51.71, -49.89, 48.91)
CIE-LCHlch(51.71, 69.87, 135.57°)
OKLaboklab(56.74% -0.1362 0.1088)
OKLCHoklch(56.74% 0.174 141.4)
XYZxyz(10.7733, 19.8908, 4.2486)
Luminance0.1989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E1A #7F1A8E
analogous
#638E1A #298E1A #1A8E45
triadic
#298E1A #1A298E #8E1A29
tetradic
#298E1A #1A638E #7F1A8E #8E451A
square
#298E1A #1A638E #7F1A8E #8E451A
split-complementary
#298E1A #451A8E #8E1A63
monochromatic
#0B2707 #1A5A11 #298E1A #38C223 #59DD45

Accessibility & contrast

On white

4.22
#298E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#298E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E1A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E1A#FFFFFF#000000##000000
##298E1A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e1a;
/* rgb */ color: rgb(41, 142, 26);
/* oklch */ color: oklch(56.7% 0.174 141.4);
Tailwind
colors: {
  custom: {
    50: '#73b061',
    500: '#298e1a',
    950: '#000000',
  },
}
SCSS
$custom: #298e1a;
$custom-light: #73b061;
$custom-dark: #000000;
JSON
{
  "hex": "#298e1a",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 112.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.1743,
    "h": 141.4
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#298E1A
secondary
#AF45BE
accent
#3CECD5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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