#298E23#298E23

#298E23 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.169 H 142.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#298E23
RGBrgb(41, 142, 35)
HSLhsl(117, 60%, 35%)
HSVhsv(117, 75%, 56%)
CMYKcmyk(71.1%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.77, -49.25, 45.87)
CIE-LCHlch(51.77, 67.30, 137.03°)
OKLaboklab(56.8% -0.134 0.1037)
OKLCHoklch(56.8% 0.169 142.3)
XYZxyz(10.8902, 19.9376, 4.8642)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E23 #88238E
analogous
#5E8E23 #298E23 #238E53
triadic
#298E23 #23298E #8E2329
tetradic
#298E23 #235E8E #88238E #8E5323
square
#298E23 #235E8E #88238E #8E5323
split-complementary
#298E23 #53238E #8E235E
monochromatic
#0D2C0B #1B5D17 #298E23 #37BF2F #5DD556

Accessibility & contrast

On white

4.21
#298E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#298E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E23
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E23#FFFFFF#000000##000000
##298E231.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#0D8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e23;
/* rgb */ color: rgb(41, 142, 35);
/* oklch */ color: oklch(56.8% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#73b065',
    500: '#298e23',
    950: '#000000',
  },
}
SCSS
$custom: #298e23;
$custom-light: #73b065;
$custom-dark: #000000;
JSON
{
  "hex": "#298e23",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 116.636,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.568,
    "c": 0.16946,
    "h": 142.3
  },
  "luminance": 0.19939
}

Semantic roles & 50–950 ramp

primary
#298E23
secondary
#B453B9
accent
#44E4DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E23

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

Preview Lab → · Contrast checker → · Palette generator →

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