#298752#298752

#298752 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.5% C 0.120 H 154.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#298752
RGBrgb(41, 135, 82)
HSLhsl(146, 53%, 35%)
HSVhsv(146, 70%, 53%)
CMYKcmyk(69.6%, 0%, 39.3%, 47.1%)
CIE-LABlab(49.99, -40.02, 20.77)
CIE-LCHlch(49.99, 45.09, 152.58°)
OKLaboklab(55.51% -0.1082 0.0519)
OKLCHoklch(55.51% 0.12 154.4)
XYZxyz(11.1004, 18.4074, 10.9490)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298752 #87295E
analogous
#2F8729 #298752 #298781
triadic
#298752 #522987 #875229
tetradic
#298752 #292F87 #87295E #878129
square
#298752 #292F87 #87295E #878129
split-complementary
#298752 #812987 #87292F
monochromatic
#0C2919 #1B5835 #298752 #37B66F #5DCE8E

Accessibility & contrast

On white

4.49
#298752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#298752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298752
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298752#FFFFFF#000000##000000
##2987521.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4E
Deuteranopia (green-blind)
#7B7455
Tritanopia (blue-blind)
#00857A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #298752;
/* rgb */ color: rgb(41, 135, 82);
/* oklch */ color: oklch(55.5% 0.120 154.4);
Tailwind
colors: {
  custom: {
    50: '#6fab83',
    500: '#298752',
    950: '#000000',
  },
}
SCSS
$custom: #298752;
$custom-light: #6fab83;
$custom-dark: #000000;
JSON
{
  "hex": "#298752",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 146.17,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.11998,
    "h": 154.4
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#298752
secondary
#B3598C
accent
#4B9DDD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #298752

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

Preview Lab → · Contrast checker → · Palette generator →

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