#298C2E#298C2E

#298C2E is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.160 H 143.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#298C2E
RGBrgb(41, 140, 46)
HSLhsl(123, 55%, 35%)
HSVhsv(123, 71%, 55%)
CMYKcmyk(70.7%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.18, -47.50, 40.73)
CIE-LCHlch(51.18, 62.57, 139.39°)
OKLaboklab(56.34% -0.1287 0.0943)
OKLCHoklch(56.34% 0.16 143.8)
XYZxyz(10.7850, 19.4237, 5.7650)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C2E #8C2987
analogous
#568C29 #298C2E #298C5F
triadic
#298C2E #2E298C #8C2E29
tetradic
#298C2E #29568C #8C2987 #8C5F29
square
#298C2E #29568C #8C2987 #8C5F29
split-complementary
#298C2E #5F298C #8C2956
monochromatic
#0D2D0F #1B5D1E #298C2E #37BB3E #5FD065

Accessibility & contrast

On white

4.30
#298C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#298C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C2E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C2E#FFFFFF#000000##000000
##298C2E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#098879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c2e;
/* rgb */ color: rgb(41, 140, 46);
/* oklch */ color: oklch(56.3% 0.160 143.8);
Tailwind
colors: {
  custom: {
    50: '#72af6b',
    500: '#298c2e',
    950: '#000000',
  },
}
SCSS
$custom: #298c2e;
$custom-light: #72af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#298c2e",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 123.03,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.15957,
    "h": 143.8
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#298C2E
secondary
#B65BB1
accent
#4AD7DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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