#298E2B#298E2B

#298E2B is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.164 H 143.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#298E2B
RGBrgb(41, 142, 43)
HSLhsl(121, 55%, 36%)
HSVhsv(121, 71%, 56%)
CMYKcmyk(71.1%, 0%, 69.7%, 44.3%)
CIE-LABlab(51.83, -48.53, 42.73)
CIE-LCHlch(51.83, 64.66, 138.63°)
OKLaboklab(56.87% -0.1316 0.0982)
OKLCHoklch(56.87% 0.164 143.3)
XYZxyz(11.0228, 19.9906, 5.5627)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2B #8E298C
analogous
#598E29 #298E2B #298E5D
triadic
#298E2B #2B298E #8E2B29
tetradic
#298E2B #29598E #8E298C #8E5D29
square
#298E2B #29598E #8E298C #8E5D29
split-complementary
#298E2B #5D298E #8E2959
monochromatic
#0E2F0E #1B5F1D #298E2B #37BD39 #60D162

Accessibility & contrast

On white

4.20
#298E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#298E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E2B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E2B#FFFFFF#000000##000000
##298E2B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801D
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#098A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2b;
/* rgb */ color: rgb(41, 142, 43);
/* oklch */ color: oklch(56.9% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#72b06a',
    500: '#298e2b',
    950: '#000000',
  },
}
SCSS
$custom: #298e2b;
$custom-light: #72b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2b",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 121.188,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.16422,
    "h": 143.3
  },
  "luminance": 0.19992
}

Semantic roles & 50–950 ramp

primary
#298E2B
secondary
#B75CB5
accent
#49DCDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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