#298C2B#298C2B

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

Color values

HEX#298C2B
RGBrgb(41, 140, 43)
HSLhsl(121, 55%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(70.7%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.15, -47.82, 42.01)
CIE-LCHlch(51.15, 63.65, 138.70°)
OKLaboklab(56.31% -0.1297 0.0967)
OKLCHoklch(56.31% 0.162 143.3)
XYZxyz(10.7279, 19.4008, 5.4644)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C2B #8C298A
analogous
#588C29 #298C2B #298C5C
triadic
#298C2B #2B298C #8C2B29
tetradic
#298C2B #29588C #8C298A #8C5C29
square
#298C2B #29588C #8C298A #8C5C29
split-complementary
#298C2B #5C298C #8C2958
monochromatic
#0D2D0E #1B5D1C #298C2B #37BB3A #5FD061

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298C2B#FFFFFF#000000##000000
##298C2B1.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)
#8F7F1E
Deuteranopia (green-blind)
#837734
Tritanopia (blue-blind)
#0B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c2b;
/* rgb */ color: rgb(41, 140, 43);
/* oklch */ color: oklch(56.3% 0.162 143.3);
Tailwind
colors: {
  custom: {
    50: '#72af69',
    500: '#298c2b',
    950: '#000000',
  },
}
SCSS
$custom: #298c2b;
$custom-light: #72af69;
$custom-dark: #000000;
JSON
{
  "hex": "#298c2b",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 121.212,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.16177,
    "h": 143.3
  },
  "luminance": 0.19402
}

Semantic roles & 50–950 ramp

primary
#298C2B
secondary
#B65BB4
accent
#4ADBDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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