#298D23#298D23

#298D23 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.168 H 142.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#298D23
RGBrgb(41, 141, 35)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 55%)
CMYKcmyk(70.9%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.43, -48.90, 45.53)
CIE-LCHlch(51.43, 66.82, 137.04°)
OKLaboklab(56.52% -0.1331 0.103)
OKLCHoklch(56.52% 0.168 142.3)
XYZxyz(10.7421, 19.6414, 4.8148)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298D23 #87238D
analogous
#5E8D23 #298D23 #238D52
triadic
#298D23 #23298D #8D2329
tetradic
#298D23 #235E8D #87238D #8D5223
square
#298D23 #235E8D #87238D #8D5223
split-complementary
#298D23 #52238D #8D235E
monochromatic
#0C2B0B #1B5C17 #298D23 #37BE2F #5DD555

Accessibility & contrast

On white

4.26
#298D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#298D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298D23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298D23#FFFFFF#000000##000000
##298D231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#0E8978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298d23;
/* rgb */ color: rgb(41, 141, 35);
/* oklch */ color: oklch(56.5% 0.168 142.3);
Tailwind
colors: {
  custom: {
    50: '#72af65',
    500: '#298d23',
    950: '#000000',
  },
}
SCSS
$custom: #298d23;
$custom-light: #72af65;
$custom-dark: #000000;
JSON
{
  "hex": "#298d23",
  "rgb": {
    "r": 41,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 116.604,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5652,
    "c": 0.16828,
    "h": 142.3
  },
  "luminance": 0.19643
}

Semantic roles & 50–950 ramp

primary
#298D23
secondary
#B353B9
accent
#44E3DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298D23

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

Preview Lab → · Contrast checker → · Palette generator →

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