#298337#298337

#298337 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.140 H 145.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#298337
RGBrgb(41, 131, 55)
HSLhsl(129, 52%, 34%)
HSVhsv(129, 69%, 51%)
CMYKcmyk(68.7%, 0%, 58%, 48.6%)
CIE-LABlab(48.23, -43.05, 33.07)
CIE-LCHlch(48.23, 54.29, 142.47°)
OKLaboklab(53.93% -0.1163 0.0787)
OKLCHoklch(53.93% 0.14 145.9)
XYZxyz(9.7197, 16.9788, 6.3787)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298337 #832975
analogous
#488329 #298337 #298364
triadic
#298337 #372983 #833729
tetradic
#298337 #294883 #832975 #836429
square
#298337 #294883 #832975 #836429
split-complementary
#298337 #642983 #832948
monochromatic
#0C2610 #1A5423 #298337 #38B24B #5BCC6C

Accessibility & contrast

On white

4.78
#298337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#298337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298337
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298337#FFFFFF#000000##FFFFFF
##2983371.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#0C8072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298337;
/* rgb */ color: rgb(41, 131, 55);
/* oklch */ color: oklch(53.9% 0.140 145.9);
Tailwind
colors: {
  custom: {
    50: '#6fa870',
    500: '#298337',
    950: '#000000',
  },
}
SCSS
$custom: #298337;
$custom-light: #6fa870;
$custom-dark: #000000;
JSON
{
  "hex": "#298337",
  "rgb": {
    "r": 41,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 129.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53934,
    "c": 0.14043,
    "h": 145.9
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#298337
secondary
#B157A3
accent
#4CC5DC
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #298337

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

Preview Lab → · Contrast checker → · Palette generator →

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