#298621#298621

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

Color values

HEX#298621
RGBrgb(41, 134, 33)
HSLhsl(115, 60%, 33%)
HSVhsv(115, 75%, 53%)
CMYKcmyk(69.4%, 0%, 75.4%, 47.5%)
CIE-LABlab(49.04, -46.60, 43.88)
CIE-LCHlch(49.04, 64.01, 136.72°)
OKLaboklab(54.54% -0.127 0.0993)
OKLCHoklch(54.54% 0.161 142)
XYZxyz(9.7135, 17.6304, 4.3297)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298621 #7E2186
analogous
#5B8621 #298621 #21864C
triadic
#298621 #212986 #862129
tetradic
#298621 #215B86 #7E2186 #864C21
square
#298621 #215B86 #7E2186 #864C21
split-complementary
#298621 #4C2186 #86215B
monochromatic
#0B2409 #1A5515 #298621 #38B72D #59D34E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298621#FFFFFF#000000##FFFFFF
##2986211.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)
#89790E
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#148272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298621;
/* rgb */ color: rgb(41, 134, 33);
/* oklch */ color: oklch(54.5% 0.161 142.0);
Tailwind
colors: {
  custom: {
    50: '#71aa63',
    500: '#298621',
    950: '#000000',
  },
}
SCSS
$custom: #298621;
$custom-light: #71aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#298621",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 33
  },
  "hsl": {
    "h": 115.248,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.16116,
    "h": 142
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#298621
secondary
#AE4CB7
accent
#44E4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298621

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

Preview Lab → · Contrast checker → · Palette generator →

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