#298620#298620

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

Color values

HEX#298620
RGBrgb(41, 134, 32)
HSLhsl(115, 61%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(69.4%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.04, -46.68, 44.25)
CIE-LCHlch(49.04, 64.32, 136.53°)
OKLaboklab(54.53% -0.1272 0.0999)
OKLCHoklch(54.53% 0.162 141.9)
XYZxyz(9.6997, 17.6249, 4.2570)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298620 #7D2086
analogous
#5C8620 #298620 #20864A
triadic
#298620 #202986 #862029
tetradic
#298620 #205C86 #7D2086 #864A20
square
#298620 #205C86 #7D2086 #864A20
split-complementary
#298620 #4A2086 #86205C
monochromatic
#0B2308 #1A5514 #298620 #38B72C #58D44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298620#FFFFFF#000000##FFFFFF
##2986201.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)
#89790C
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#148272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #298620;
/* rgb */ color: rgb(41, 134, 32);
/* oklch */ color: oklch(54.5% 0.162 141.9);
Tailwind
colors: {
  custom: {
    50: '#71aa63',
    500: '#298620',
    950: '#000000',
  },
}
SCSS
$custom: #298620;
$custom-light: #71aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#298620",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 114.706,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.16177,
    "h": 141.9
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#298620
secondary
#AE4BB7
accent
#43E5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298620

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

Preview Lab → · Contrast checker → · Palette generator →

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