#298C1F#298C1F

#298C1F is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.169 H 141.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#298C1F
RGBrgb(41, 140, 31)
HSLhsl(114, 64%, 34%)
HSVhsv(114, 78%, 55%)
CMYKcmyk(70.7%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.07, -48.86, 46.63)
CIE-LCHlch(51.07, 67.55, 136.34°)
OKLaboklab(56.21% -0.1332 0.1047)
OKLCHoklch(56.21% 0.169 141.8)
XYZxyz(10.5393, 19.3254, 4.4708)
Luminance0.1933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C1F #821F8C
analogous
#5F8C1F #298C1F #1F8C4B
triadic
#298C1F #1F298C #8C1F29
tetradic
#298C1F #1F5F8C #821F8C #8C4B1F
square
#298C1F #1F5F8C #821F8C #8C4B1F
split-complementary
#298C1F #4B1F8C #8C1F5F
monochromatic
#0C2809 #1A5A14 #298C1F #38BE2A #5AD84E

Accessibility & contrast

On white

4.32
#298C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#298C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C1F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C1F#FFFFFF#000000##000000
##298C1F1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#84772B
Tritanopia (blue-blind)
#108877
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c1f;
/* rgb */ color: rgb(41, 140, 31);
/* oklch */ color: oklch(56.2% 0.169 141.8);
Tailwind
colors: {
  custom: {
    50: '#72af63',
    500: '#298c1f',
    950: '#000000',
  },
}
SCSS
$custom: #298c1f;
$custom-light: #72af63;
$custom-dark: #000000;
JSON
{
  "hex": "#298c1f",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 114.495,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.16943,
    "h": 141.8
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#298C1F
secondary
#B04CBB
accent
#41E7D8
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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