#298C2D#298C2D

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

Color values

HEX#298C2D
RGBrgb(41, 140, 45)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(70.7%, 0%, 67.9%, 45.1%)
CIE-LABlab(51.17, -47.61, 41.16)
CIE-LCHlch(51.17, 62.93, 139.16°)
OKLaboklab(56.33% -0.1291 0.0951)
OKLCHoklch(56.33% 0.16 143.6)
XYZxyz(10.7655, 19.4159, 5.6624)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C2D #8C2988
analogous
#568C29 #298C2D #298C5E
triadic
#298C2D #2D298C #8C2D29
tetradic
#298C2D #29568C #8C2988 #8C5E29
square
#298C2D #29568C #8C2988 #8C5E29
split-complementary
#298C2D #5E298C #8C2956
monochromatic
#0D2D0F #1B5D1E #298C2D #37BB3C #5FD064

Accessibility & contrast

On white

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

On black

4.88
#298C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C2D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C2D#FFFFFF#000000##000000
##298C2D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#0A8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c2d;
/* rgb */ color: rgb(41, 140, 45);
/* oklch */ color: oklch(56.3% 0.160 143.6);
Tailwind
colors: {
  custom: {
    50: '#72af6b',
    500: '#298c2d',
    950: '#000000',
  },
}
SCSS
$custom: #298c2d;
$custom-light: #72af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#298c2d",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 122.424,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.16031,
    "h": 143.6
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

primary
#298C2D
secondary
#B65BB2
accent
#4AD8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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