#298B4F#298B4F

#298B4F is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.129 H 152.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#298B4F
RGBrgb(41, 139, 79)
HSLhsl(143, 54%, 35%)
HSVhsv(143, 71%, 55%)
CMYKcmyk(70.5%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.27, -42.23, 24.12)
CIE-LCHlch(51.27, 48.63, 150.27°)
OKLaboklab(56.55% -0.1139 0.0597)
OKLCHoklch(56.55% 0.129 152.3)
XYZxyz(11.5574, 19.4999, 10.5504)
Luminance0.1950 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B4F #8B2965
analogous
#348B29 #298B4F #298B80
triadic
#298B4F #4F298B #8B4F29
tetradic
#298B4F #29348B #8B2965 #8B8029
square
#298B4F #29348B #8B2965 #8B8029
split-complementary
#298B4F #80298B #8B2934
monochromatic
#0D2C19 #1B5C34 #298B4F #37BA6A #5FD08B

Accessibility & contrast

On white

4.29
#298B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#298B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B4F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B4F#FFFFFF#000000##000000
##298B4F1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#7F7753
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298b4f;
/* rgb */ color: rgb(41, 139, 79);
/* oklch */ color: oklch(56.6% 0.129 152.3);
Tailwind
colors: {
  custom: {
    50: '#70ae81',
    500: '#298b4f',
    950: '#000000',
  },
}
SCSS
$custom: #298b4f;
$custom-light: #70ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#298b4f",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 143.265,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.12859,
    "h": 152.3
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#298B4F
secondary
#B55B92
accent
#4AA4DE
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #298B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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