#298B1C#298B1C

#298B1C is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.170 H 141.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#298B1C
RGBrgb(41, 139, 28)
HSLhsl(113, 66%, 33%)
HSVhsv(113, 80%, 55%)
CMYKcmyk(70.5%, 0%, 79.9%, 45.5%)
CIE-LABlab(50.71, -48.73, 47.31)
CIE-LCHlch(50.71, 67.92, 135.85°)
OKLaboklab(55.91% -0.133 0.1057)
OKLCHoklch(55.91% 0.17 141.5)
XYZxyz(10.3561, 19.0194, 4.2237)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B1C #7E1C8B
analogous
#608B1C #298B1C #1C8B46
triadic
#298B1C #1C298B #8B1C29
tetradic
#298B1C #1C608B #7E1C8B #8B461C
square
#298B1C #1C608B #7E1C8B #8B461C
split-complementary
#298B1C #461C8B #8B1C60
monochromatic
#0B2507 #1A5812 #298B1C #38BE26 #59DA47

Accessibility & contrast

On white

4.37
#298B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#298B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B1C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B1C#FFFFFF#000000##000000
##298B1C1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#128676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b1c;
/* rgb */ color: rgb(41, 139, 28);
/* oklch */ color: oklch(55.9% 0.170 141.5);
Tailwind
colors: {
  custom: {
    50: '#72ae62',
    500: '#298b1c',
    950: '#000000',
  },
}
SCSS
$custom: #298b1c;
$custom-light: #72ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#298b1c",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 112.973,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.16988,
    "h": 141.5
  },
  "luminance": 0.1902
}

Semantic roles & 50–950 ramp

primary
#298B1C
secondary
#AE47BC
accent
#3EE9D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #298B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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