#298B20#298B20

#298B20 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.168 H 141.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#298B20
RGBrgb(41, 139, 32)
HSLhsl(115, 63%, 34%)
HSVhsv(115, 77%, 55%)
CMYKcmyk(70.5%, 0%, 77%, 45.5%)
CIE-LABlab(50.73, -48.44, 45.95)
CIE-LCHlch(50.73, 66.77, 136.51°)
OKLaboklab(55.94% -0.132 0.1034)
OKLCHoklch(55.94% 0.168 141.9)
XYZxyz(10.4072, 19.0398, 4.4928)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B20 #82208B
analogous
#5E8B20 #298B20 #208B4C
triadic
#298B20 #20298B #8B2029
tetradic
#298B20 #205E8B #82208B #8B4C20
square
#298B20 #205E8B #82208B #8B4C20
split-complementary
#298B20 #4C208B #8B205E
monochromatic
#0C2809 #1A5915 #298B20 #38BD2B #5AD64F

Accessibility & contrast

On white

4.37
#298B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#298B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B20
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B20#FFFFFF#000000##000000
##298B201.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E09
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#118777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b20;
/* rgb */ color: rgb(41, 139, 32);
/* oklch */ color: oklch(55.9% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#72ae63',
    500: '#298b20',
    950: '#000000',
  },
}
SCSS
$custom: #298b20;
$custom-light: #72ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#298b20",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 114.953,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.16769,
    "h": 141.9
  },
  "luminance": 0.19041
}

Semantic roles & 50–950 ramp

primary
#298B20
secondary
#B04DBA
accent
#42E6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298B20

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

Preview Lab → · Contrast checker → · Palette generator →

#298B20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva