#298724#298724

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

Color values

HEX#298724
RGBrgb(41, 135, 36)
HSLhsl(117, 58%, 34%)
HSVhsv(117, 73%, 53%)
CMYKcmyk(69.6%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.41, -46.70, 43.08)
CIE-LCHlch(49.41, 63.53, 137.31°)
OKLaboklab(54.85% -0.1271 0.098)
OKLCHoklch(54.85% 0.16 142.4)
XYZxyz(9.8963, 17.9257, 4.6072)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298724 #822487
analogous
#5A8724 #298724 #248750
triadic
#298724 #242987 #872429
tetradic
#298724 #245A87 #822487 #875024
square
#298724 #245A87 #822487 #875024
split-complementary
#298724 #502487 #87245A
monochromatic
#0C260A #1A5717 #298724 #38B731 #5AD154

Accessibility & contrast

On white

4.58
#298724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#298724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298724
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298724#FFFFFF#000000##000000
##2987241.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#7F732E
Tritanopia (blue-blind)
#128373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298724;
/* rgb */ color: rgb(41, 135, 36);
/* oklch */ color: oklch(54.8% 0.160 142.4);
Tailwind
colors: {
  custom: {
    50: '#71ab65',
    500: '#298724',
    950: '#000000',
  },
}
SCSS
$custom: #298724;
$custom-light: #71ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#298724",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 116.97,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.16046,
    "h": 142.4
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#298724
secondary
#B051B5
accent
#47E1D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298724

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

Preview Lab → · Contrast checker → · Palette generator →

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