#298740#298740

#298740 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.138 H 148.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#298740
RGBrgb(41, 135, 64)
HSLhsl(135, 53%, 35%)
HSVhsv(135, 70%, 53%)
CMYKcmyk(69.6%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.70, -43.25, 30.20)
CIE-LCHlch(49.70, 52.75, 145.07°)
OKLaboklab(55.18% -0.1166 0.073)
OKLCHoklch(55.18% 0.138 148)
XYZxyz(10.5031, 18.1684, 7.8028)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298740 #872970
analogous
#418729 #298740 #29876F
triadic
#298740 #402987 #874029
tetradic
#298740 #294187 #872970 #876F29
square
#298740 #294187 #872970 #876F29
split-complementary
#298740 #6F2987 #872941
monochromatic
#0C2913 #1B582A #298740 #37B656 #5DCE78

Accessibility & contrast

On white

4.53
#298740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#298740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298740
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298740#FFFFFF#000000##000000
##2987401.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#008477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298740;
/* rgb */ color: rgb(41, 135, 64);
/* oklch */ color: oklch(55.2% 0.138 148.0);
Tailwind
colors: {
  custom: {
    50: '#70ab76',
    500: '#298740',
    950: '#000000',
  },
}
SCSS
$custom: #298740;
$custom-light: #70ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#298740",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 134.681,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.13755,
    "h": 148
  },
  "luminance": 0.1817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298740

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

Preview Lab → · Contrast checker → · Palette generator →

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