#298137#298137

#298137 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.138 H 146.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#298137
RGBrgb(41, 129, 55)
HSLhsl(130, 52%, 33%)
HSVhsv(130, 68%, 51%)
CMYKcmyk(68.2%, 0%, 57.4%, 49.4%)
CIE-LABlab(47.56, -42.28, 32.26)
CIE-LCHlch(47.56, 53.19, 142.65°)
OKLaboklab(53.37% -0.1142 0.077)
OKLCHoklch(53.37% 0.138 146)
XYZxyz(9.4537, 16.4468, 6.2900)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298137 #812973
analogous
#478129 #298137 #298163
triadic
#298137 #372981 #813729
tetradic
#298137 #294781 #812973 #816329
square
#298137 #294781 #812973 #816329
split-complementary
#298137 #632981 #812947
monochromatic
#0B240F #1A5323 #298137 #38AF4B #5ACB6C

Accessibility & contrast

On white

4.90
#298137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#298137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298137
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298137#FFFFFF#000000##FFFFFF
##2981371.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837530
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#0D7E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298137;
/* rgb */ color: rgb(41, 129, 55);
/* oklch */ color: oklch(53.4% 0.138 146.0);
Tailwind
colors: {
  custom: {
    50: '#6fa670',
    500: '#298137',
    950: '#000000',
  },
}
SCSS
$custom: #298137;
$custom-light: #6fa670;
$custom-dark: #000000;
JSON
{
  "hex": "#298137",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 129.545,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.13771,
    "h": 146
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#298137
secondary
#B056A2
accent
#4DC5DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #298137

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

Preview Lab → · Contrast checker → · Palette generator →

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