#298E2F#298E2F

#298E2F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.161 H 143.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#298E2F
RGBrgb(41, 142, 47)
HSLhsl(124, 55%, 36%)
HSVhsv(124, 71%, 56%)
CMYKcmyk(71.1%, 0%, 66.9%, 44.3%)
CIE-LABlab(51.86, -48.11, 41.03)
CIE-LCHlch(51.86, 63.23, 139.54°)
OKLaboklab(56.91% -0.1303 0.0951)
OKLCHoklch(56.91% 0.161 143.9)
XYZxyz(11.0998, 20.0215, 5.9683)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2F #8E2988
analogous
#558E29 #298E2F #298E61
triadic
#298E2F #2F298E #8E2F29
tetradic
#298E2F #29558E #8E2988 #8E6129
square
#298E2F #29558E #8E2988 #8E6129
split-complementary
#298E2F #61298E #8E2955
monochromatic
#0E2F10 #1B5F1F #298E2F #37BD3F #60D167

Accessibility & contrast

On white

4.20
#298E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#298E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E2F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E2F#FFFFFF#000000##000000
##298E2F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#857838
Tritanopia (blue-blind)
#078A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2f;
/* rgb */ color: rgb(41, 142, 47);
/* oklch */ color: oklch(56.9% 0.161 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b06c',
    500: '#298e2f',
    950: '#000000',
  },
}
SCSS
$custom: #298e2f;
$custom-light: #72b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2f",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 123.564,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.1613,
    "h": 143.9
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#298E2F
secondary
#B75CB1
accent
#49D6DF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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