#298E1C#298E1C

#298E1C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.173 H 141.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#298E1C
RGBrgb(41, 142, 28)
HSLhsl(113, 67%, 33%)
HSVhsv(113, 80%, 56%)
CMYKcmyk(71.1%, 0%, 80.3%, 44.3%)
CIE-LABlab(51.72, -49.76, 48.29)
CIE-LCHlch(51.72, 69.34, 135.86°)
OKLaboklab(56.75% -0.1358 0.1078)
OKLCHoklch(56.75% 0.173 141.6)
XYZxyz(10.7965, 19.9001, 4.3705)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E1C #811C8E
analogous
#628E1C #298E1C #1C8E48
triadic
#298E1C #1C298E #8E1C29
tetradic
#298E1C #1C628E #811C8E #8E481C
square
#298E1C #1C628E #811C8E #8E481C
split-complementary
#298E1C #481C8E #8E1C62
monochromatic
#0B2808 #1A5B12 #298E1C #38C126 #5ADB49

Accessibility & contrast

On white

4.22
#298E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#298E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E1C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E1C#FFFFFF#000000##000000
##298E1C1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e1c;
/* rgb */ color: rgb(41, 142, 28);
/* oklch */ color: oklch(56.8% 0.173 141.6);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#298e1c',
    950: '#000000',
  },
}
SCSS
$custom: #298e1c;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#298e1c",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 113.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.17333,
    "h": 141.6
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#298E1C
secondary
#B049BD
accent
#3EEAD6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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