#298E4B#298E4B

#298E4B is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.137 H 150.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#298E4B
RGBrgb(41, 142, 75)
HSLhsl(140, 55%, 36%)
HSVhsv(140, 71%, 56%)
CMYKcmyk(71.1%, 0%, 47.2%, 44.3%)
CIE-LABlab(52.20, -44.14, 27.49)
CIE-LCHlch(52.20, 52.01, 148.08°)
OKLaboklab(57.3% -0.1189 0.0674)
OKLCHoklch(57.3% 0.137 150.5)
XYZxyz(11.8565, 20.3241, 9.9533)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E4B #8E296C
analogous
#398E29 #298E4B #298E7D
triadic
#298E4B #4B298E #8E4B29
tetradic
#298E4B #29398E #8E296C #8E7D29
square
#298E4B #29398E #8E296C #8E7D29
split-complementary
#298E4B #7D298E #8E2939
monochromatic
#0E2F19 #1B5F32 #298E4B #37BD64 #60D186

Accessibility & contrast

On white

4.15
#298E4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#298E4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E4B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E4B#FFFFFF#000000##000000
##298E4B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8246
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e4b;
/* rgb */ color: rgb(41, 142, 75);
/* oklch */ color: oklch(57.3% 0.137 150.5);
Tailwind
colors: {
  custom: {
    50: '#71b07e',
    500: '#298e4b',
    950: '#000000',
  },
}
SCSS
$custom: #298e4b;
$custom-light: #71b07e;
$custom-dark: #000000;
JSON
{
  "hex": "#298e4b",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 140.198,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.13666,
    "h": 150.5
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#298E4B
secondary
#B75C98
accent
#49ACDF
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #298E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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