#298F1E#298F1E

#298F1E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.173 H 141.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F1E
RGBrgb(41, 143, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 56%)
CMYKcmyk(71.3%, 0%, 79%, 43.9%)
CIE-LABlab(52.07, -49.97, 47.96)
CIE-LCHlch(52.07, 69.26, 136.18°)
OKLaboklab(57.04% -0.1362 0.1074)
OKLCHoklch(57.04% 0.173 141.8)
XYZxyz(10.9706, 20.2089, 4.5506)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F1E #841E8F
analogous
#628F1E #298F1E #1E8F4C
triadic
#298F1E #1E298F #8F1E29
tetradic
#298F1E #1E628F #841E8F #8F4C1E
square
#298F1E #1E628F #841E8F #8F4C1E
split-complementary
#298F1E #4C1E8F #8F1E62
monochromatic
#0C2A09 #1A5C13 #298F1E #38C229 #5BDA4E

Accessibility & contrast

On white

4.17
#298F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F1E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F1E#FFFFFF#000000##000000
##298F1E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#0E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f1e;
/* rgb */ color: rgb(41, 143, 30);
/* oklch */ color: oklch(57.0% 0.173 141.8);
Tailwind
colors: {
  custom: {
    50: '#73b163',
    500: '#298f1e',
    950: '#000000',
  },
}
SCSS
$custom: #298f1e;
$custom-light: #73b163;
$custom-dark: #000000;
JSON
{
  "hex": "#298f1e",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 114.159,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.17344,
    "h": 141.8
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

primary
#298F1E
secondary
#B24CBC
accent
#40E8D8
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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