#298F1C#298F1C

#298F1C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.174 H 141.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F1C
RGBrgb(41, 143, 28)
HSLhsl(113, 67%, 34%)
HSVhsv(113, 80%, 56%)
CMYKcmyk(71.3%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.06, -50.11, 48.61)
CIE-LCHlch(52.06, 69.81, 135.87°)
OKLaboklab(57.03% -0.1367 0.1084)
OKLCHoklch(57.03% 0.174 141.6)
XYZxyz(10.9459, 20.1990, 4.4203)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F1C #821C8F
analogous
#628F1C #298F1C #1C8F48
triadic
#298F1C #1C298F #8F1C29
tetradic
#298F1C #1C628F #821C8F #8F481C
square
#298F1C #1C628F #821C8F #8F481C
split-complementary
#298F1C #481C8F #8F1C62
monochromatic
#0C2908 #1A5C12 #298F1C #38C226 #5ADC4A

Accessibility & contrast

On white

4.17
#298F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F1C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F1C#FFFFFF#000000##000000
##298F1C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#0F8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f1c;
/* rgb */ color: rgb(41, 143, 28);
/* oklch */ color: oklch(57.0% 0.174 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b162',
    500: '#298f1c',
    950: '#000000',
  },
}
SCSS
$custom: #298f1c;
$custom-light: #73b162;
$custom-dark: #000000;
JSON
{
  "hex": "#298f1c",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 113.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57031,
    "c": 0.17447,
    "h": 141.6
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#298F1C
secondary
#B049BE
accent
#3EEAD7
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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