#298640#298640

#298640 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.136 H 148.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#298640
RGBrgb(41, 134, 64)
HSLhsl(135, 53%, 34%)
HSVhsv(135, 69%, 53%)
CMYKcmyk(69.4%, 0%, 52.2%, 47.5%)
CIE-LABlab(49.36, -42.86, 29.79)
CIE-LCHlch(49.36, 52.20, 145.20°)
OKLaboklab(54.91% -0.1155 0.0721)
OKLCHoklch(54.91% 0.136 148.1)
XYZxyz(10.3642, 17.8907, 7.7565)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298640 #86296F
analogous
#418629 #298640 #29866F
triadic
#298640 #402986 #864029
tetradic
#298640 #294186 #86296F #866F29
square
#298640 #294186 #86296F #866F29
split-complementary
#298640 #6F2986 #862941
monochromatic
#0C2813 #1B572A #298640 #37B556 #5CCD78

Accessibility & contrast

On white

4.59
#298640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#298640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298640
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298640#FFFFFF#000000##FFFFFF
##2986401.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877A3A
Deuteranopia (green-blind)
#7C7245
Tritanopia (blue-blind)
#018376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298640;
/* rgb */ color: rgb(41, 134, 64);
/* oklch */ color: oklch(54.9% 0.136 148.1);
Tailwind
colors: {
  custom: {
    50: '#6faa76',
    500: '#298640',
    950: '#000000',
  },
}
SCSS
$custom: #298640;
$custom-light: #6faa76;
$custom-dark: #000000;
JSON
{
  "hex": "#298640",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 134.839,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.13617,
    "h": 148.1
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#298640
secondary
#B3589C
accent
#4BB9DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298640

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

Preview Lab → · Contrast checker → · Palette generator →

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