#298148#298148

#298148 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.7% C 0.121 H 151.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#298148
RGBrgb(41, 129, 72)
HSLhsl(141, 52%, 33%)
HSVhsv(141, 68%, 51%)
CMYKcmyk(68.2%, 0%, 44.2%, 49.4%)
CIE-LABlab(47.80, -39.49, 23.47)
CIE-LCHlch(47.80, 45.94, 149.27°)
OKLaboklab(53.66% -0.1065 0.058)
OKLCHoklch(53.66% 0.121 151.4)
XYZxyz(9.9336, 16.6388, 8.8177)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298148 #812962
analogous
#368129 #298148 #298174
triadic
#298148 #482981 #814829
tetradic
#298148 #293681 #812962 #817429
square
#298148 #293681 #812962 #817429
split-complementary
#298148 #742981 #812936
monochromatic
#0B2414 #1A532E #298148 #38AF62 #5ACB82

Accessibility & contrast

On white

4.85
#298148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#298148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298148
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298148#FFFFFF#000000##FFFFFF
##2981481.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817644
Deuteranopia (green-blind)
#766E4C
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298148;
/* rgb */ color: rgb(41, 129, 72);
/* oklch */ color: oklch(53.7% 0.121 151.4);
Tailwind
colors: {
  custom: {
    50: '#6ea67c',
    500: '#298148',
    950: '#000000',
  },
}
SCSS
$custom: #298148;
$custom-light: #6ea67c;
$custom-dark: #000000;
JSON
{
  "hex": "#298148",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 141.136,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.1213,
    "h": 151.4
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#298148
secondary
#B05690
accent
#4DA9DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #298148

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

Preview Lab → · Contrast checker → · Palette generator →

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