#298B23#298B23

#298B23 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.166 H 142.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#298B23
RGBrgb(41, 139, 35)
HSLhsl(117, 60%, 34%)
HSVhsv(117, 75%, 55%)
CMYKcmyk(70.5%, 0%, 74.8%, 45.5%)
CIE-LABlab(50.75, -48.20, 44.85)
CIE-LCHlch(50.75, 65.84, 137.06°)
OKLaboklab(55.96% -0.1312 0.1016)
OKLCHoklch(55.96% 0.166 142.3)
XYZxyz(10.4498, 19.0569, 4.7174)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B23 #85238B
analogous
#5D8B23 #298B23 #238B51
triadic
#298B23 #23298B #8B2329
tetradic
#298B23 #235D8B #85238B #8B5123
square
#298B23 #235D8B #85238B #8B5123
split-complementary
#298B23 #51238B #8B235D
monochromatic
#0C290A #1B5A17 #298B23 #37BC2F #5CD454

Accessibility & contrast

On white

4.36
#298B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#298B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B23
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B23#FFFFFF#000000##000000
##298B231.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#108777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b23;
/* rgb */ color: rgb(41, 139, 35);
/* oklch */ color: oklch(56.0% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#72ae65',
    500: '#298b23',
    950: '#000000',
  },
}
SCSS
$custom: #298b23;
$custom-light: #72ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#298b23",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 116.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.16591,
    "h": 142.3
  },
  "luminance": 0.19058
}

Semantic roles & 50–950 ramp

primary
#298B23
secondary
#B252B8
accent
#45E3DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298B23

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

Preview Lab → · Contrast checker → · Palette generator →

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