#298B27#298B27

#298B27 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.163 H 142.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#298B27
RGBrgb(41, 139, 39)
HSLhsl(119, 56%, 35%)
HSVhsv(119, 72%, 55%)
CMYKcmyk(70.5%, 0%, 71.9%, 45.5%)
CIE-LABlab(50.78, -47.85, 43.29)
CIE-LCHlch(50.78, 64.53, 137.86°)
OKLaboklab(55.99% -0.13 0.0988)
OKLCHoklch(55.99% 0.163 142.8)
XYZxyz(10.5127, 19.0820, 5.0482)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B27 #89278B
analogous
#5B8B27 #298B27 #278B57
triadic
#298B27 #27298B #8B2729
tetradic
#298B27 #275B8B #89278B #8B5727
square
#298B27 #275B8B #89278B #8B5727
split-complementary
#298B27 #57278B #8B275B
monochromatic
#0D2B0C #1B5B1A #298B27 #37BB34 #5ED15B

Accessibility & contrast

On white

4.36
#298B27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#298B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B27
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B27#FFFFFF#000000##000000
##298B271.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#837631
Tritanopia (blue-blind)
#0E8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b27;
/* rgb */ color: rgb(41, 139, 39);
/* oklch */ color: oklch(56.0% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#72ae67',
    500: '#298b27',
    950: '#000000',
  },
}
SCSS
$custom: #298b27;
$custom-light: #72ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#298b27",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 118.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.16333,
    "h": 142.8
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

primary
#298B27
secondary
#B458B6
accent
#48DFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298B27

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

Preview Lab → · Contrast checker → · Palette generator →

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