#298719#298719

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

Color values

HEX#298719
RGBrgb(41, 135, 25)
HSLhsl(111, 69%, 31%)
HSVhsv(111, 81%, 53%)
CMYKcmyk(69.6%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.34, -47.54, 46.98)
CIE-LCHlch(49.34, 66.83, 135.34°)
OKLaboklab(54.77% -0.1299 0.1046)
OKLCHoklch(54.77% 0.167 141.2)
XYZxyz(9.7534, 17.8685, 3.8545)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298719 #771987
analogous
#608719 #298719 #198740
triadic
#298719 #192987 #871929
tetradic
#298719 #196087 #771987 #874019
square
#298719 #196087 #771987 #874019
split-complementary
#298719 #401987 #871960
monochromatic
#0A2006 #19530F #298719 #39BB23 #56DB3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298719#FFFFFF#000000##FFFFFF
##2987191.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)
#807226
Tritanopia (blue-blind)
#158373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298719;
/* rgb */ color: rgb(41, 135, 25);
/* oklch */ color: oklch(54.8% 0.167 141.2);
Tailwind
colors: {
  custom: {
    50: '#71ab60',
    500: '#298719',
    950: '#000000',
  },
}
SCSS
$custom: #298719;
$custom-light: #71ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#298719",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 111.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.16677,
    "h": 141.2
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#298719
secondary
#A941BA
accent
#3CECD2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #298719

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

Preview Lab → · Contrast checker → · Palette generator →

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