#298E26#298E26

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

Color values

HEX#298E26
RGBrgb(41, 142, 38)
HSLhsl(118, 58%, 35%)
HSVhsv(118, 73%, 56%)
CMYKcmyk(71.1%, 0%, 73.2%, 44.3%)
CIE-LABlab(51.79, -48.99, 44.74)
CIE-LCHlch(51.79, 66.35, 137.60°)
OKLaboklab(56.82% -0.1332 0.1017)
OKLCHoklch(56.82% 0.168 142.6)
XYZxyz(10.9367, 19.9562, 5.1089)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E26 #8B268E
analogous
#5D8E26 #298E26 #268E57
triadic
#298E26 #26298E #8E2629
tetradic
#298E26 #265D8E #8B268E #8E5726
square
#298E26 #265D8E #8B268E #8E5726
split-complementary
#298E26 #57268E #8E265D
monochromatic
#0D2D0C #1B5E19 #298E26 #37BE33 #5FD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##298E26#FFFFFF#000000##000000
##298E261.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)
#918015
Deuteranopia (green-blind)
#867831
Tritanopia (blue-blind)
#0C8A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e26;
/* rgb */ color: rgb(41, 142, 38);
/* oklch */ color: oklch(56.8% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#72b067',
    500: '#298e26',
    950: '#000000',
  },
}
SCSS
$custom: #298e26;
$custom-light: #72b067;
$custom-dark: #000000;
JSON
{
  "hex": "#298e26",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 118.269,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.16759,
    "h": 142.6
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#298E26
secondary
#B558B8
accent
#47E1DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E26

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

Preview Lab → · Contrast checker → · Palette generator →

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