#298538#298538

#298538 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.142 H 146.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#298538
RGBrgb(41, 133, 56)
HSLhsl(130, 53%, 34%)
HSVhsv(130, 69%, 52%)
CMYKcmyk(69.2%, 0%, 57.9%, 47.8%)
CIE-LABlab(48.92, -43.68, 33.38)
CIE-LCHlch(48.92, 54.97, 142.61°)
OKLaboklab(54.51% -0.1179 0.0795)
OKLCHoklch(54.51% 0.142 146)
XYZxyz(10.0151, 17.5309, 6.5966)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298538 #852976
analogous
#488529 #298538 #298566
triadic
#298538 #382985 #853829
tetradic
#298538 #294885 #852976 #856629
square
#298538 #294885 #852976 #856629
split-complementary
#298538 #662985 #852948
monochromatic
#0C2711 #1B5624 #298538 #37B44C #5CCD6E

Accessibility & contrast

On white

4.66
#298538 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#298538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298538
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298538#FFFFFF#000000##FFFFFF
##2985381.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#7C713E
Tritanopia (blue-blind)
#098274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298538;
/* rgb */ color: rgb(41, 133, 56);
/* oklch */ color: oklch(54.5% 0.142 146.0);
Tailwind
colors: {
  custom: {
    50: '#6fa971',
    500: '#298538',
    950: '#000000',
  },
}
SCSS
$custom: #298538;
$custom-light: #6fa971;
$custom-dark: #000000;
JSON
{
  "hex": "#298538",
  "rgb": {
    "r": 41,
    "g": 133,
    "b": 56
  },
  "hsl": {
    "h": 129.783,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.14222,
    "h": 146
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#298538
secondary
#B258A3
accent
#4CC5DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298538

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

Preview Lab → · Contrast checker → · Palette generator →

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