#298048#298048

#298048 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.4% C 0.120 H 151.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#298048
RGBrgb(41, 128, 72)
HSLhsl(141, 51%, 33%)
HSVhsv(141, 68%, 50%)
CMYKcmyk(68%, 0%, 43.8%, 49.8%)
CIE-LABlab(47.46, -39.08, 23.04)
CIE-LCHlch(47.46, 45.36, 149.48°)
OKLaboklab(53.38% -0.1055 0.057)
OKLCHoklch(53.38% 0.12 151.6)
XYZxyz(9.8025, 16.3766, 8.7740)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298048 #802961
analogous
#368029 #298048 #298073
triadic
#298048 #482980 #804829
tetradic
#298048 #293680 #802961 #807329
square
#298048 #293680 #802961 #807329
split-complementary
#298048 #732980 #802936
monochromatic
#0B2314 #1A522E #298048 #38AE62 #59CA82

Accessibility & contrast

On white

4.91
#298048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#298048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298048
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298048#FFFFFF#000000##FFFFFF
##2980481.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807544
Deuteranopia (green-blind)
#756E4C
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298048;
/* rgb */ color: rgb(41, 128, 72);
/* oklch */ color: oklch(53.4% 0.120 151.6);
Tailwind
colors: {
  custom: {
    50: '#6ea67b',
    500: '#298048',
    950: '#000000',
  },
}
SCSS
$custom: #298048;
$custom-light: #6ea67b;
$custom-dark: #000000;
JSON
{
  "hex": "#298048",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 72
  },
  "hsl": {
    "h": 141.379,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.11986,
    "h": 151.6
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#298048
secondary
#AF558F
accent
#4DA8DB
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #298048

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

Preview Lab → · Contrast checker → · Palette generator →

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