#298738#298738

#298738 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.145 H 145.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#298738
RGBrgb(41, 135, 56)
HSLhsl(130, 53%, 35%)
HSVhsv(130, 70%, 53%)
CMYKcmyk(69.6%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.60, -44.43, 34.18)
CIE-LCHlch(49.60, 56.06, 142.43°)
OKLaboklab(55.07% -0.12 0.0812)
OKLCHoklch(55.07% 0.145 145.9)
XYZxyz(10.2915, 18.0838, 6.6888)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298738 #872978
analogous
#498729 #298738 #298767
triadic
#298738 #382987 #873829
tetradic
#298738 #294987 #872978 #876729
square
#298738 #294987 #872978 #876729
split-complementary
#298738 #672987 #872949
monochromatic
#0C2911 #1B5825 #298738 #37B64B #5DCE6F

Accessibility & contrast

On white

4.55
#298738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#298738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298738
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298738#FFFFFF#000000##000000
##2987381.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#078476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298738;
/* rgb */ color: rgb(41, 135, 56);
/* oklch */ color: oklch(55.1% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#70ab71',
    500: '#298738',
    950: '#000000',
  },
}
SCSS
$custom: #298738;
$custom-light: #70ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#298738",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 129.574,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55065,
    "c": 0.14489,
    "h": 145.9
  },
  "luminance": 0.18085
}

Semantic roles & 50–950 ramp

primary
#298738
secondary
#B359A5
accent
#4BC6DD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298738

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

Preview Lab → · Contrast checker → · Palette generator →

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