#298639#298639

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

Color values

HEX#298639
RGBrgb(41, 134, 57)
HSLhsl(130, 53%, 34%)
HSVhsv(130, 69%, 53%)
CMYKcmyk(69.4%, 0%, 57.5%, 47.5%)
CIE-LABlab(49.27, -43.91, 33.29)
CIE-LCHlch(49.27, 55.11, 142.83°)
OKLaboklab(54.8% -0.1185 0.0794)
OKLCHoklch(54.8% 0.143 146.2)
XYZxyz(10.1774, 17.8159, 6.7726)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298639 #862976
analogous
#478629 #298639 #298668
triadic
#298639 #392986 #863929
tetradic
#298639 #294786 #862976 #866829
square
#298639 #294786 #862976 #866829
split-complementary
#298639 #682986 #862947
monochromatic
#0C2811 #1B5725 #298639 #37B54D #5CCD70

Accessibility & contrast

On white

4.60
#298639 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #298639
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298639#FFFFFF#000000##FFFFFF
##2986391.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887A32
Deuteranopia (green-blind)
#7D723F
Tritanopia (blue-blind)
#078375
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298639;
/* rgb */ color: rgb(41, 134, 57);
/* oklch */ color: oklch(54.8% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#70aa72',
    500: '#298639',
    950: '#000000',
  },
}
SCSS
$custom: #298639;
$custom-light: #70aa72;
$custom-dark: #000000;
JSON
{
  "hex": "#298639",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 57
  },
  "hsl": {
    "h": 130.323,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.548,
    "c": 0.14266,
    "h": 146.2
  },
  "luminance": 0.17817
}

Semantic roles & 50–950 ramp

primary
#298639
secondary
#B358A3
accent
#4BC4DD
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #298639

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

Preview Lab → · Contrast checker → · Palette generator →

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