#298152#298152

#298152 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.111 H 155.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#298152
RGBrgb(41, 129, 82)
HSLhsl(148, 52%, 33%)
HSVhsv(148, 68%, 51%)
CMYKcmyk(68.2%, 0%, 36.4%, 49.4%)
CIE-LABlab(47.98, -37.50, 18.08)
CIE-LCHlch(47.98, 41.64, 154.26°)
OKLaboklab(53.86% -0.1016 0.0455)
OKLCHoklch(53.86% 0.111 155.9)
XYZxyz(10.2868, 16.7800, 10.6778)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298152 #812958
analogous
#2C8129 #298152 #29817E
triadic
#298152 #522981 #815229
tetradic
#298152 #292C81 #812958 #817E29
square
#298152 #292C81 #812958 #817E29
split-complementary
#298152 #7E2981 #81292C
monochromatic
#0B2417 #1A5334 #298152 #38AF70 #5ACB8E

Accessibility & contrast

On white

4.82
#298152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#298152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298152
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298152#FFFFFF#000000##FFFFFF
##2981521.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80774F
Deuteranopia (green-blind)
#756F55
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298152;
/* rgb */ color: rgb(41, 129, 82);
/* oklch */ color: oklch(53.9% 0.111 155.9);
Tailwind
colors: {
  custom: {
    50: '#6ea683',
    500: '#298152',
    950: '#000000',
  },
}
SCSS
$custom: #298152;
$custom-light: #6ea683;
$custom-dark: #000000;
JSON
{
  "hex": "#298152",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 147.955,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.11135,
    "h": 155.9
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#298152
secondary
#B05686
accent
#4D99DB
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #298152

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

Preview Lab → · Contrast checker → · Palette generator →

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