#298129#298129

#298129 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.149 H 143.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#298129
RGBrgb(41, 129, 41)
HSLhsl(120, 52%, 33%)
HSVhsv(120, 68%, 51%)
CMYKcmyk(68.2%, 0%, 68.2%, 49.4%)
CIE-LABlab(47.41, -44.03, 38.83)
CIE-LCHlch(47.41, 58.70, 138.59°)
OKLaboklab(53.2% -0.1195 0.0897)
OKLCHoklch(53.2% 0.149 143.1)
XYZxyz(9.1644, 16.3311, 4.7666)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298129 #812981
analogous
#558129 #298129 #298155
triadic
#298129 #292981 #812929
tetradic
#298129 #295581 #812981 #815529
square
#298129 #295581 #812981 #815529
split-complementary
#298129 #552981 #812955
monochromatic
#0B240B #1A531A #298129 #38AF38 #5ACB5A

Accessibility & contrast

On white

4.92
#298129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#298129 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298129
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298129#FFFFFF#000000##FFFFFF
##2981291.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#796E31
Tritanopia (blue-blind)
#147D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298129;
/* rgb */ color: rgb(41, 129, 41);
/* oklch */ color: oklch(53.2% 0.149 143.1);
Tailwind
colors: {
  custom: {
    50: '#6fa667',
    500: '#298129',
    950: '#000000',
  },
}
SCSS
$custom: #298129;
$custom-light: #6fa667;
$custom-dark: #000000;
JSON
{
  "hex": "#298129",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 41
  },
  "hsl": {
    "h": 120,
    "s": 51.765,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.14947,
    "h": 143.1
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

primary
#298129
secondary
#B056B0
accent
#4DDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #298129

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

Preview Lab → · Contrast checker → · Palette generator →

#298129 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva