#298E25#298E25

#298E25 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.168 H 142.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#298E25
RGBrgb(41, 142, 37)
HSLhsl(118, 59%, 35%)
HSVhsv(118, 74%, 56%)
CMYKcmyk(71.1%, 0%, 73.9%, 44.3%)
CIE-LABlab(51.78, -49.08, 45.12)
CIE-LCHlch(51.78, 66.67, 137.41°)
OKLaboklab(56.82% -0.1335 0.1024)
OKLCHoklch(56.82% 0.168 142.5)
XYZxyz(10.9207, 19.9498, 5.0251)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E25 #8A258E
analogous
#5E8E25 #298E25 #258E55
triadic
#298E25 #25298E #8E2529
tetradic
#298E25 #255E8E #8A258E #8E5525
square
#298E25 #255E8E #8A258E #8E5525
split-complementary
#298E25 #55258E #8E255E
monochromatic
#0D2D0C #1B5D18 #298E25 #37BF32 #5ED45A

Accessibility & contrast

On white

4.21
#298E25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#298E25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E25
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E25#FFFFFF#000000##000000
##298E251.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918013
Deuteranopia (green-blind)
#867830
Tritanopia (blue-blind)
#0C8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e25;
/* rgb */ color: rgb(41, 142, 37);
/* oklch */ color: oklch(56.8% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b066',
    500: '#298e25',
    950: '#000000',
  },
}
SCSS
$custom: #298e25;
$custom-light: #72b066;
$custom-dark: #000000;
JSON
{
  "hex": "#298e25",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 117.714,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.16822,
    "h": 142.5
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#298E25
secondary
#B556B9
accent
#46E2DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E25

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

Preview Lab → · Contrast checker → · Palette generator →

#298E25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva