#298E1E#298E1E

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

Color values

HEX#298E1E
RGBrgb(41, 142, 30)
HSLhsl(114, 65%, 34%)
HSVhsv(114, 79%, 56%)
CMYKcmyk(71.1%, 0%, 78.9%, 44.3%)
CIE-LABlab(51.74, -49.63, 47.63)
CIE-LCHlch(51.74, 68.79, 136.18°)
OKLaboklab(56.76% -0.1353 0.1067)
OKLCHoklch(56.76% 0.172 141.7)
XYZxyz(10.8212, 19.9100, 4.5008)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E1E #831E8E
analogous
#618E1E #298E1E #1E8E4B
triadic
#298E1E #1E298E #8E1E29
tetradic
#298E1E #1E618E #831E8E #8E4B1E
square
#298E1E #1E618E #831E8E #8E4B1E
split-complementary
#298E1E #4B1E8E #8E1E61
monochromatic
#0C2909 #1A5B13 #298E1E #38C129 #5BD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E1E#FFFFFF#000000##000000
##298E1E1.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)
#928002
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#0F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e1e;
/* rgb */ color: rgb(41, 142, 30);
/* oklch */ color: oklch(56.8% 0.172 141.7);
Tailwind
colors: {
  custom: {
    50: '#73b063',
    500: '#298e1e',
    950: '#000000',
  },
}
SCSS
$custom: #298e1e;
$custom-light: #73b063;
$custom-dark: #000000;
JSON
{
  "hex": "#298e1e",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 114.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.17229,
    "h": 141.7
  },
  "luminance": 0.19911
}

Semantic roles & 50–950 ramp

primary
#298E1E
secondary
#B14CBC
accent
#40E8D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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