#298747#298747

#298747 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.131 H 150.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#298747
RGBrgb(41, 135, 71)
HSLhsl(139, 53%, 35%)
HSVhsv(139, 70%, 53%)
CMYKcmyk(69.6%, 0%, 47.4%, 47.1%)
CIE-LABlab(49.80, -42.09, 26.59)
CIE-LCHlch(49.80, 49.79, 147.71°)
OKLaboklab(55.3% -0.1134 0.0652)
OKLCHoklch(55.3% 0.131 150.1)
XYZxyz(10.7149, 18.2531, 8.9185)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298747 #872969
analogous
#3A8729 #298747 #298776
triadic
#298747 #472987 #874729
tetradic
#298747 #293A87 #872969 #877629
square
#298747 #293A87 #872969 #877629
split-complementary
#298747 #762987 #87293A
monochromatic
#0C2916 #1B582E #298747 #37B660 #5DCE81

Accessibility & contrast

On white

4.52
#298747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#298747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298747
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298747#FFFFFF#000000##000000
##2987471.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B42
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298747;
/* rgb */ color: rgb(41, 135, 71);
/* oklch */ color: oklch(55.3% 0.131 150.1);
Tailwind
colors: {
  custom: {
    50: '#6fab7b',
    500: '#298747',
    950: '#000000',
  },
}
SCSS
$custom: #298747;
$custom-light: #6fab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#298747",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 71
  },
  "hsl": {
    "h": 139.149,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.553,
    "c": 0.13081,
    "h": 150.1
  },
  "luminance": 0.18254
}

Semantic roles & 50–950 ramp

primary
#298747
secondary
#B35996
accent
#4BAEDD
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #298747

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

Preview Lab → · Contrast checker → · Palette generator →

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