#298725#298725

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

Color values

HEX#298725
RGBrgb(41, 135, 37)
HSLhsl(118, 57%, 34%)
HSVhsv(118, 73%, 53%)
CMYKcmyk(69.6%, 0%, 72.6%, 47.1%)
CIE-LABlab(49.41, -46.61, 42.68)
CIE-LCHlch(49.41, 63.20, 137.52°)
OKLaboklab(54.85% -0.1268 0.0973)
OKLCHoklch(54.85% 0.16 142.5)
XYZxyz(9.9118, 17.9319, 4.6888)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298725 #832587
analogous
#5A8725 #298725 #258752
triadic
#298725 #252987 #872529
tetradic
#298725 #255A87 #832587 #875225
square
#298725 #255A87 #832587 #875225
split-complementary
#298725 #522587 #87255A
monochromatic
#0C270B #1A5718 #298725 #38B732 #5BD156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298725#FFFFFF#000000##000000
##2987251.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)
#8A7A15
Deuteranopia (green-blind)
#7F732F
Tritanopia (blue-blind)
#128374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298725;
/* rgb */ color: rgb(41, 135, 37);
/* oklch */ color: oklch(54.9% 0.160 142.5);
Tailwind
colors: {
  custom: {
    50: '#71ab65',
    500: '#298725',
    950: '#000000',
  },
}
SCSS
$custom: #298725;
$custom-light: #71ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#298725",
  "rgb": {
    "r": 41,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 117.551,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.15981,
    "h": 142.5
  },
  "luminance": 0.17933
}

Semantic roles & 50–950 ramp

primary
#298725
secondary
#B153B5
accent
#48E0DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298725

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

Preview Lab → · Contrast checker → · Palette generator →

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