#298317#298317

#298317 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.6% C 0.163 H 140.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#298317
RGBrgb(41, 131, 23)
HSLhsl(110, 70%, 30%)
HSVhsv(110, 82%, 51%)
CMYKcmyk(68.7%, 0%, 82.4%, 48.6%)
CIE-LABlab(47.96, -46.25, 46.31)
CIE-LCHlch(47.96, 65.45, 134.96°)
OKLaboklab(53.62% -0.1265 0.1029)
OKLCHoklch(53.62% 0.163 140.9)
XYZxyz(9.1849, 16.7649, 3.5624)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298317 #711783
analogous
#5F8317 #298317 #17833B
triadic
#298317 #172983 #831729
tetradic
#298317 #175F83 #711783 #833B17
square
#298317 #175F83 #711783 #833B17
split-complementary
#298317 #3B1783 #83175F
monochromatic
#081B05 #194F0E #298317 #39B720 #54DC38

Accessibility & contrast

On white

4.82
#298317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#298317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298317
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298317#FFFFFF#000000##FFFFFF
##2983171.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#187F6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298317;
/* rgb */ color: rgb(41, 131, 23);
/* oklch */ color: oklch(53.6% 0.163 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a85e',
    500: '#298317',
    950: '#000000',
  },
}
SCSS
$custom: #298317;
$custom-light: #71a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#298317",
  "rgb": {
    "r": 41,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 110,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.16311,
    "h": 140.9
  },
  "luminance": 0.16766
}

Semantic roles & 50–950 ramp

primary
#298317
secondary
#A33FB7
accent
#3BEDCF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298317

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

Preview Lab → · Contrast checker → · Palette generator →

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