#298C2C#298C2C

#298C2C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.161 H 143.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#298C2C
RGBrgb(41, 140, 44)
HSLhsl(122, 55%, 35%)
HSVhsv(122, 71%, 55%)
CMYKcmyk(70.7%, 0%, 68.6%, 45.1%)
CIE-LABlab(51.16, -47.71, 41.59)
CIE-LCHlch(51.16, 63.29, 138.93°)
OKLaboklab(56.32% -0.1294 0.0959)
OKLCHoklch(56.32% 0.161 143.5)
XYZxyz(10.7465, 19.4083, 5.5622)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C2C #8C2989
analogous
#578C29 #298C2C #298C5D
triadic
#298C2C #2C298C #8C2C29
tetradic
#298C2C #29578C #8C2989 #8C5D29
square
#298C2C #29578C #8C2989 #8C5D29
split-complementary
#298C2C #5D298C #8C2957
monochromatic
#0D2D0E #1B5D1D #298C2C #37BB3B #5FD063

Accessibility & contrast

On white

4.30
#298C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#298C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C2C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C2C#FFFFFF#000000##000000
##298C2C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1F
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#0B8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c2c;
/* rgb */ color: rgb(41, 140, 44);
/* oklch */ color: oklch(56.3% 0.161 143.5);
Tailwind
colors: {
  custom: {
    50: '#72af6a',
    500: '#298c2c',
    950: '#000000',
  },
}
SCSS
$custom: #298c2c;
$custom-light: #72af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#298c2c",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 121.818,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56321,
    "c": 0.16105,
    "h": 143.5
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#298C2C
secondary
#B65BB3
accent
#4ADADE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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