#298A1B#298A1B

#298A1B is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.6% C 0.169 H 141.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298A1B
RGBrgb(41, 138, 27)
HSLhsl(112, 67%, 32%)
HSVhsv(112, 80%, 54%)
CMYKcmyk(70.3%, 0%, 80.4%, 45.9%)
CIE-LABlab(50.37, -48.45, 47.31)
CIE-LCHlch(50.37, 67.72, 135.68°)
OKLaboklab(55.62% -0.1323 0.1056)
OKLCHoklch(55.62% 0.169 141.4)
XYZxyz(10.2002, 18.7264, 4.1137)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298A1B #7C1B8A
analogous
#618A1B #298A1B #1B8A44
triadic
#298A1B #1B298A #8A1B29
tetradic
#298A1B #1B618A #7C1B8A #8A441B
square
#298A1B #1B618A #7C1B8A #8A441B
split-complementary
#298A1B #441B8A #8A1B61
monochromatic
#0B2407 #1A5711 #298A1B #38BD25 #58DB45

Accessibility & contrast

On white

4.43
#298A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#298A1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298A1B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298A1B#FFFFFF#000000##000000
##298A1B1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#138575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #298a1b;
/* rgb */ color: rgb(41, 138, 27);
/* oklch */ color: oklch(55.6% 0.169 141.4);
Tailwind
colors: {
  custom: {
    50: '#72ad61',
    500: '#298a1b',
    950: '#000000',
  },
}
SCSS
$custom: #298a1b;
$custom-light: #72ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#298a1b",
  "rgb": {
    "r": 41,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 112.432,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.16923,
    "h": 141.4
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#298A1B
secondary
#AD45BC
accent
#3EEAD4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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