#298F23#298F23

#298F23 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.171 H 142.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#298F23
RGBrgb(41, 143, 35)
HSLhsl(117, 61%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(71.3%, 0%, 75.5%, 43.9%)
CIE-LABlab(52.10, -49.60, 46.21)
CIE-LCHlch(52.10, 67.79, 137.02°)
OKLaboklab(57.08% -0.135 0.1044)
OKLCHoklch(57.08% 0.171 142.3)
XYZxyz(11.0396, 20.2365, 4.9140)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F23 #89238F
analogous
#5F8F23 #298F23 #238F53
triadic
#298F23 #23298F #8F2329
tetradic
#298F23 #235F8F #89238F #8F5323
square
#298F23 #235F8F #89238F #8F5323
split-complementary
#298F23 #53238F #8F235F
monochromatic
#0D2D0B #1B5E17 #298F23 #37C02F #5ED657

Accessibility & contrast

On white

4.16
#298F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#298F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F23
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F23#FFFFFF#000000##000000
##298F231.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#87792E
Tritanopia (blue-blind)
#0C8B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f23;
/* rgb */ color: rgb(41, 143, 35);
/* oklch */ color: oklch(57.1% 0.171 142.3);
Tailwind
colors: {
  custom: {
    50: '#73b165',
    500: '#298f23',
    950: '#000000',
  },
}
SCSS
$custom: #298f23;
$custom-light: #73b165;
$custom-dark: #000000;
JSON
{
  "hex": "#298f23",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 116.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.17064,
    "h": 142.3
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#298F23
secondary
#B454BA
accent
#44E4DB
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298F23

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

Preview Lab → · Contrast checker → · Palette generator →

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