#298B2B#298B2B

#298B2B is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.161 H 143.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#298B2B
RGBrgb(41, 139, 43)
HSLhsl(121, 54%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(70.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(50.82, -47.46, 41.65)
CIE-LCHlch(50.82, 63.14, 138.73°)
OKLaboklab(56.03% -0.1288 0.0959)
OKLCHoklch(56.03% 0.161 143.3)
XYZxyz(10.5825, 19.1099, 5.4159)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B2B #8B2989
analogous
#588B29 #298B2B #298B5C
triadic
#298B2B #2B298B #8B2B29
tetradic
#298B2B #29588B #8B2989 #8B5C29
square
#298B2B #29588B #8B2989 #8B5C29
split-complementary
#298B2B #5C298B #8B2958
monochromatic
#0D2C0E #1B5C1C #298B2B #37BA3A #5FD061

Accessibility & contrast

On white

4.35
#298B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#298B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B2B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B2B#FFFFFF#000000##000000
##298B2B1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#0C8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b2b;
/* rgb */ color: rgb(41, 139, 43);
/* oklch */ color: oklch(56.0% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#71ae69',
    500: '#298b2b',
    950: '#000000',
  },
}
SCSS
$custom: #298b2b;
$custom-light: #71ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#298b2b",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 121.224,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.16054,
    "h": 143.3
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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