#298623#298623

#298623 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.160 H 142.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#298623
RGBrgb(41, 134, 35)
HSLhsl(116, 59%, 33%)
HSVhsv(116, 74%, 53%)
CMYKcmyk(69.4%, 0%, 73.9%, 47.5%)
CIE-LABlab(49.06, -46.43, 43.12)
CIE-LCHlch(49.06, 63.36, 137.12°)
OKLaboklab(54.56% -0.1264 0.098)
OKLCHoklch(54.56% 0.16 142.2)
XYZxyz(9.7424, 17.6419, 4.4816)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298623 #802386
analogous
#5A8623 #298623 #23864E
triadic
#298623 #232986 #862329
tetradic
#298623 #235A86 #802386 #864E23
square
#298623 #235A86 #802386 #864E23
split-complementary
#298623 #4E2386 #86235A
monochromatic
#0B250A #1A5516 #298623 #38B730 #59D252

Accessibility & contrast

On white

4.64
#298623 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#298623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298623
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298623#FFFFFF#000000##FFFFFF
##2986231.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#138273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298623;
/* rgb */ color: rgb(41, 134, 35);
/* oklch */ color: oklch(54.6% 0.160 142.2);
Tailwind
colors: {
  custom: {
    50: '#71aa64',
    500: '#298623',
    950: '#000000',
  },
}
SCSS
$custom: #298623;
$custom-light: #71aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#298623",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 116.364,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.1599,
    "h": 142.2
  },
  "luminance": 0.17643
}

Semantic roles & 50–950 ramp

primary
#298623
secondary
#AF4FB5
accent
#46E2D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298623

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

Preview Lab → · Contrast checker → · Palette generator →

#298623 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva