#298716#298716

#298716 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.168 H 140.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#298716
RGBrgb(41, 135, 22)
HSLhsl(110, 72%, 31%)
HSVhsv(110, 84%, 53%)
CMYKcmyk(69.6%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.32, -47.72, 47.88)
CIE-LCHlch(49.32, 67.60, 134.90°)
OKLaboklab(54.75% -0.1305 0.106)
OKLCHoklch(54.75% 0.168 140.9)
XYZxyz(9.7227, 17.8563, 3.6931)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298716 #741687
analogous
#618716 #298716 #16873C
triadic
#298716 #162987 #871629
tetradic
#298716 #166187 #741687 #873C16
square
#298716 #166187 #741687 #873C16
split-complementary
#298716 #3C1687 #871661
monochromatic
#091E05 #19520D #298716 #39BC1F #55DF39

Accessibility & contrast

On white

4.59
#298716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#298716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298716
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298716#FFFFFF#000000##FFFFFF
##2987161.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807224
Tritanopia (blue-blind)
#168273
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298716;
/* rgb */ color: rgb(41, 135, 22);
/* oklch */ color: oklch(54.7% 0.168 140.9);
Tailwind
colors: {
  custom: {
    50: '#72ab5e',
    500: '#298716',
    950: '#000000',
  },
}
SCSS
$custom: #298716;
$custom-light: #72ab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#298716",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 109.912,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.16817,
    "h": 140.9
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#298716
secondary
#A63EBB
accent
#39EFD0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298716

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

Preview Lab → · Contrast checker → · Palette generator →

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