#298636#298636

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

Color values

HEX#298636
RGBrgb(41, 134, 54)
HSLhsl(128, 53%, 34%)
HSVhsv(128, 69%, 53%)
CMYKcmyk(69.4%, 0%, 59.7%, 47.5%)
CIE-LABlab(49.24, -44.33, 34.76)
CIE-LCHlch(49.24, 56.33, 141.90°)
OKLaboklab(54.76% -0.1198 0.0823)
OKLCHoklch(54.76% 0.145 145.5)
XYZxyz(10.1047, 17.7869, 6.3900)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298636 #862979
analogous
#4B8629 #298636 #298665
triadic
#298636 #362986 #863629
tetradic
#298636 #294B86 #862979 #866529
square
#298636 #294B86 #862979 #866529
split-complementary
#298636 #652986 #86294B
monochromatic
#0C2810 #1B5723 #298636 #37B549 #5CCD6C

Accessibility & contrast

On white

4.61
#298636 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #298636
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298636#FFFFFF#000000##FFFFFF
##2986361.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A2E
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#0A8374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298636;
/* rgb */ color: rgb(41, 134, 54);
/* oklch */ color: oklch(54.8% 0.145 145.5);
Tailwind
colors: {
  custom: {
    50: '#70aa70',
    500: '#298636',
    950: '#000000',
  },
}
SCSS
$custom: #298636;
$custom-light: #70aa70;
$custom-dark: #000000;
JSON
{
  "hex": "#298636",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 54
  },
  "hsl": {
    "h": 128.387,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.14532,
    "h": 145.5
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#298636
secondary
#B358A6
accent
#4BC8DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #298636

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

Preview Lab → · Contrast checker → · Palette generator →

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