#298B31#298B31

#298B31 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.156 H 144.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#298B31
RGBrgb(41, 139, 49)
HSLhsl(125, 54%, 35%)
HSVhsv(125, 71%, 55%)
CMYKcmyk(70.5%, 0%, 64.7%, 45.5%)
CIE-LABlab(50.87, -46.80, 39.02)
CIE-LCHlch(50.87, 60.94, 140.18°)
OKLaboklab(56.09% -0.1267 0.091)
OKLCHoklch(56.09% 0.156 144.3)
XYZxyz(10.7008, 19.1573, 6.0389)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B31 #8B2983
analogous
#528B29 #298B31 #298B62
triadic
#298B31 #31298B #8B3129
tetradic
#298B31 #29528B #8B2983 #8B6229
square
#298B31 #29528B #8B2983 #8B6229
split-complementary
#298B31 #62298B #8B2952
monochromatic
#0D2C10 #1B5C20 #298B31 #37BA42 #5FD068

Accessibility & contrast

On white

4.35
#298B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#298B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B31
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B31#FFFFFF#000000##000000
##298B311.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#827639
Tritanopia (blue-blind)
#088778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b31;
/* rgb */ color: rgb(41, 139, 49);
/* oklch */ color: oklch(56.1% 0.156 144.3);
Tailwind
colors: {
  custom: {
    50: '#71ae6d',
    500: '#298b31',
    950: '#000000',
  },
}
SCSS
$custom: #298b31;
$custom-light: #71ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#298b31",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 124.898,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.15599,
    "h": 144.3
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#298B31
secondary
#B55BAE
accent
#4AD2DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298B31

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

Preview Lab → · Contrast checker → · Palette generator →

#298B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva