#298437#298437

#298437 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.142 H 145.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#298437
RGBrgb(41, 132, 55)
HSLhsl(129, 53%, 34%)
HSVhsv(129, 69%, 52%)
CMYKcmyk(68.9%, 0%, 58.3%, 48.2%)
CIE-LABlab(48.57, -43.43, 33.47)
CIE-LCHlch(48.57, 54.84, 142.38°)
OKLaboklab(54.21% -0.1173 0.0796)
OKLCHoklch(54.21% 0.142 145.8)
XYZxyz(9.8546, 17.2487, 6.4237)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298437 #842976
analogous
#498429 #298437 #298465
triadic
#298437 #372984 #843729
tetradic
#298437 #294984 #842976 #846529
square
#298437 #294984 #842976 #846529
split-complementary
#298437 #652984 #842949
monochromatic
#0C2710 #1A5524 #298437 #38B34A #5BCC6D

Accessibility & contrast

On white

4.72
#298437 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#298437 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298437
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298437#FFFFFF#000000##FFFFFF
##2984371.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#0B8173
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298437;
/* rgb */ color: rgb(41, 132, 55);
/* oklch */ color: oklch(54.2% 0.142 145.8);
Tailwind
colors: {
  custom: {
    50: '#6fa970',
    500: '#298437',
    950: '#000000',
  },
}
SCSS
$custom: #298437;
$custom-light: #6fa970;
$custom-dark: #000000;
JSON
{
  "hex": "#298437",
  "rgb": {
    "r": 41,
    "g": 132,
    "b": 55
  },
  "hsl": {
    "h": 129.231,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54214,
    "c": 0.14177,
    "h": 145.8
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#298437
secondary
#B257A4
accent
#4CC6DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #298437

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

Preview Lab → · Contrast checker → · Palette generator →

#298437 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva