#298720#298720

#298720 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.163 H 141.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#298720
RGBrgb(41, 135, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(69.6%, 0%, 76.3%, 47.1%)
CIE-LABlab(49.38, -47.03, 44.59)
CIE-LCHlch(49.38, 64.81, 136.53°)
OKLaboklab(54.81% -0.1282 0.1006)
OKLCHoklch(54.81% 0.163 141.9)
XYZxyz(9.8386, 17.9026, 4.3033)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298720 #7E2087
analogous
#5D8720 #298720 #20874A
triadic
#298720 #202987 #872029
tetradic
#298720 #205D87 #7E2087 #874A20
square
#298720 #205D87 #7E2087 #874A20
split-complementary
#298720 #4A2087 #87205D
monochromatic
#0B2409 #1A5614 #298720 #38B82C #59D54D

Accessibility & contrast

On white

4.58
#298720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#298720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298720
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298720#FFFFFF#000000##000000
##2987201.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#138373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298720;
/* rgb */ color: rgb(41, 135, 32);
/* oklch */ color: oklch(54.8% 0.163 141.9);
Tailwind
colors: {
  custom: {
    50: '#71ab63',
    500: '#298720',
    950: '#000000',
  },
}
SCSS
$custom: #298720;
$custom-light: #71ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#298720",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 114.757,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.16296,
    "h": 141.9
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#298720
secondary
#AE4BB8
accent
#43E5D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298720

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

Preview Lab → · Contrast checker → · Palette generator →

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