#298B2D#298B2D

#298B2D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.159 H 143.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#298B2D
RGBrgb(41, 139, 45)
HSLhsl(122, 54%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(70.5%, 0%, 67.6%, 45.5%)
CIE-LABlab(50.83, -47.25, 40.79)
CIE-LCHlch(50.83, 62.42, 139.20°)
OKLaboklab(56.05% -0.1281 0.0943)
OKLCHoklch(56.05% 0.159 143.6)
XYZxyz(10.6201, 19.1250, 5.6139)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B2D #8B2987
analogous
#568B29 #298B2D #298B5E
triadic
#298B2D #2D298B #8B2D29
tetradic
#298B2D #29568B #8B2987 #8B5E29
square
#298B2D #29568B #8B2987 #8B5E29
split-complementary
#298B2D #5E298B #8B2956
monochromatic
#0D2C0E #1B5C1E #298B2D #37BA3C #5FD063

Accessibility & contrast

On white

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

On black

4.83
#298B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B2D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B2D#FFFFFF#000000##000000
##298B2D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#0B8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b2d;
/* rgb */ color: rgb(41, 139, 45);
/* oklch */ color: oklch(56.1% 0.159 143.6);
Tailwind
colors: {
  custom: {
    50: '#71ae6a',
    500: '#298b2d',
    950: '#000000',
  },
}
SCSS
$custom: #298b2d;
$custom-light: #71ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#298b2d",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 122.449,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56051,
    "c": 0.15907,
    "h": 143.6
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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