#298820#298820

#298820 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.164 H 141.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#298820
RGBrgb(41, 136, 32)
HSLhsl(115, 62%, 33%)
HSVhsv(115, 76%, 53%)
CMYKcmyk(69.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(49.72, -47.39, 44.93)
CIE-LCHlch(49.72, 65.31, 136.52°)
OKLaboklab(55.09% -0.1291 0.1013)
OKLCHoklch(55.09% 0.164 141.9)
XYZxyz(9.9788, 18.1830, 4.3500)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298820 #7F2088
analogous
#5D8820 #298820 #20884B
triadic
#298820 #202988 #882029
tetradic
#298820 #205D88 #7F2088 #884B20
square
#298820 #205D88 #7F2088 #884B20
split-complementary
#298820 #4B2088 #88205D
monochromatic
#0B2509 #1A5614 #298820 #38BA2C #59D54D

Accessibility & contrast

On white

4.53
#298820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#298820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298820
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298820#FFFFFF#000000##000000
##2988201.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#138474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #298820;
/* rgb */ color: rgb(41, 136, 32);
/* oklch */ color: oklch(55.1% 0.164 141.9);
Tailwind
colors: {
  custom: {
    50: '#71ac63',
    500: '#298820',
    950: '#000000',
  },
}
SCSS
$custom: #298820;
$custom-light: #71ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#298820",
  "rgb": {
    "r": 41,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 114.808,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.16416,
    "h": 141.9
  },
  "luminance": 0.18184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #298820

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

Preview Lab → · Contrast checker → · Palette generator →

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