#298638#298638

#298638 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.144 H 146.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#298638
RGBrgb(41, 134, 56)
HSLhsl(130, 53%, 34%)
HSVhsv(130, 69%, 53%)
CMYKcmyk(69.4%, 0%, 58.2%, 47.5%)
CIE-LABlab(49.26, -44.06, 33.78)
CIE-LCHlch(49.26, 55.52, 142.52°)
OKLaboklab(54.79% -0.119 0.0804)
OKLCHoklch(54.79% 0.144 146)
XYZxyz(10.1527, 17.8061, 6.6425)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298638 #862977
analogous
#498629 #298638 #298667
triadic
#298638 #382986 #863829
tetradic
#298638 #294986 #862977 #866729
square
#298638 #294986 #862977 #866729
split-complementary
#298638 #672986 #862949
monochromatic
#0C2811 #1B5724 #298638 #37B54C #5CCD6E

Accessibility & contrast

On white

4.60
#298638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#298638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298638
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298638#FFFFFF#000000##FFFFFF
##2986381.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A30
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#088375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298638;
/* rgb */ color: rgb(41, 134, 56);
/* oklch */ color: oklch(54.8% 0.144 146.0);
Tailwind
colors: {
  custom: {
    50: '#70aa71',
    500: '#298638',
    950: '#000000',
  },
}
SCSS
$custom: #298638;
$custom-light: #70aa71;
$custom-dark: #000000;
JSON
{
  "hex": "#298638",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 56
  },
  "hsl": {
    "h": 129.677,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.14355,
    "h": 146
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#298638
secondary
#B358A4
accent
#4BC5DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298638

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

Preview Lab → · Contrast checker → · Palette generator →

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