#298F2E#298F2E

#298F2E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.163 H 143.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#298F2E
RGBrgb(41, 143, 46)
HSLhsl(123, 55%, 36%)
HSVhsv(123, 71%, 56%)
CMYKcmyk(71.3%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.19, -48.57, 41.83)
CIE-LCHlch(52.19, 64.10, 139.27°)
OKLaboklab(57.18% -0.1316 0.0966)
OKLCHoklch(57.18% 0.163 143.7)
XYZxyz(11.2294, 20.3124, 5.9131)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F2E #8F298A
analogous
#578F29 #298F2E #298F61
triadic
#298F2E #2E298F #8F2E29
tetradic
#298F2E #29578F #8F298A #8F6129
square
#298F2E #29578F #8F298A #8F6129
split-complementary
#298F2E #61298F #8F2957
monochromatic
#0E300F #1B5F1F #298F2E #37BF3D #61D266

Accessibility & contrast

On white

4.15
#298F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#298F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F2E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F2E#FFFFFF#000000##000000
##298F2E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928121
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#068B7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f2e;
/* rgb */ color: rgb(41, 143, 46);
/* oklch */ color: oklch(57.2% 0.163 143.7);
Tailwind
colors: {
  custom: {
    50: '#72b16b',
    500: '#298f2e',
    950: '#000000',
  },
}
SCSS
$custom: #298f2e;
$custom-light: #72b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#298f2e",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 122.941,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.16329,
    "h": 143.7
  },
  "luminance": 0.20314
}

Semantic roles & 50–950 ramp

primary
#298F2E
secondary
#B75CB3
accent
#49D7DF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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