#298C1B#298C1B

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

Color values

HEX#298C1B
RGBrgb(41, 140, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 55%)
CMYKcmyk(70.7%, 0%, 80.7%, 45.1%)
CIE-LABlab(51.04, -49.14, 47.96)
CIE-LCHlch(51.04, 68.67, 135.70°)
OKLaboklab(56.18% -0.1341 0.1069)
OKLCHoklch(56.18% 0.172 141.4)
XYZxyz(10.4898, 19.3056, 4.2102)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C1B #7E1B8C
analogous
#628C1B #298C1B #1B8C45
triadic
#298C1B #1B298C #8C1B29
tetradic
#298C1B #1B628C #7E1B8C #8C451B
square
#298C1B #1B628C #7E1B8C #8C451B
split-complementary
#298C1B #451B8C #8C1B62
monochromatic
#0B2507 #1A5911 #298C1B #38BF25 #59DB46

Accessibility & contrast

On white

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

On black

4.86
#298C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C1B#FFFFFF#000000##000000
##298C1B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#118777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c1b;
/* rgb */ color: rgb(41, 140, 27);
/* oklch */ color: oklch(56.2% 0.172 141.4);
Tailwind
colors: {
  custom: {
    50: '#73af61',
    500: '#298c1b',
    950: '#000000',
  },
}
SCSS
$custom: #298c1b;
$custom-light: #73af61;
$custom-dark: #000000;
JSON
{
  "hex": "#298c1b",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 112.566,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56184,
    "c": 0.17154,
    "h": 141.4
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#298C1B
secondary
#AE46BD
accent
#3DEBD5
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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