#298255#298255

#298255 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.110 H 157.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298255
RGBrgb(41, 130, 85)
HSLhsl(150, 52%, 34%)
HSVhsv(150, 68%, 51%)
CMYKcmyk(68.5%, 0%, 34.6%, 49%)
CIE-LABlab(48.38, -37.29, 16.90)
CIE-LCHlch(48.38, 40.95, 155.62°)
OKLaboklab(54.21% -0.1013 0.0426)
OKLCHoklch(54.21% 0.11 157.2)
XYZxyz(10.5358, 17.0914, 11.3363)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298255 #822956
analogous
#298229 #298255 #298281
triadic
#298255 #552982 #825529
tetradic
#298255 #292982 #822956 #828129
square
#298255 #292982 #822956 #828129
split-complementary
#298255 #812982 #822929
monochromatic
#0C2518 #1A5337 #298255 #38B173 #5ACB92

Accessibility & contrast

On white

4.75
#298255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#298255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298255
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298255#FFFFFF#000000##FFFFFF
##2982551.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817852
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298255;
/* rgb */ color: rgb(41, 130, 85);
/* oklch */ color: oklch(54.2% 0.110 157.2);
Tailwind
colors: {
  custom: {
    50: '#6ea785',
    500: '#298255',
    950: '#000000',
  },
}
SCSS
$custom: #298255;
$custom-light: #6ea785;
$custom-dark: #000000;
JSON
{
  "hex": "#298255",
  "rgb": {
    "r": 41,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 149.663,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.10987,
    "h": 157.2
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#298255
secondary
#B05684
accent
#4C95DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #298255

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

Preview Lab → · Contrast checker → · Palette generator →

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