#298B2C#298B2C

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

Color values

HEX#298B2C
RGBrgb(41, 139, 44)
HSLhsl(122, 54%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(70.5%, 0%, 68.3%, 45.5%)
CIE-LABlab(50.82, -47.36, 41.22)
CIE-LCHlch(50.82, 62.78, 138.96°)
OKLaboklab(56.04% -0.1284 0.0951)
OKLCHoklch(56.04% 0.16 143.5)
XYZxyz(10.6010, 19.1174, 5.5137)
Luminance0.1912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B2C #8B2988
analogous
#578B29 #298B2C #298B5D
triadic
#298B2C #2C298B #8B2C29
tetradic
#298B2C #29578B #8B2988 #8B5D29
square
#298B2C #29578B #8B2988 #8B5D29
split-complementary
#298B2C #5D298B #8B2957
monochromatic
#0D2C0E #1B5C1D #298B2C #37BA3B #5FD062

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298B2C#FFFFFF#000000##000000
##298B2C1.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)
#8E7E1F
Deuteranopia (green-blind)
#827635
Tritanopia (blue-blind)
#0C8778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b2c;
/* rgb */ color: rgb(41, 139, 44);
/* oklch */ color: oklch(56.0% 0.160 143.5);
Tailwind
colors: {
  custom: {
    50: '#71ae6a',
    500: '#298b2c',
    950: '#000000',
  },
}
SCSS
$custom: #298b2c;
$custom-light: #71ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#298b2c",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 44
  },
  "hsl": {
    "h": 121.837,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.15981,
    "h": 143.5
  },
  "luminance": 0.19119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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