#298229#298229

#298229 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.151 H 143.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#298229
RGBrgb(41, 130, 41)
HSLhsl(120, 52%, 34%)
HSVhsv(120, 68%, 51%)
CMYKcmyk(68.5%, 0%, 68.5%, 49%)
CIE-LABlab(47.75, -44.40, 39.20)
CIE-LCHlch(47.75, 59.23, 138.55°)
OKLaboklab(53.48% -0.1206 0.0905)
OKLCHoklch(53.48% 0.151 143.1)
XYZxyz(9.2968, 16.5958, 4.8108)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298229 #822982
analogous
#558229 #298229 #298255
triadic
#298229 #292982 #822929
tetradic
#298229 #295582 #822982 #825529
square
#298229 #295582 #822982 #825529
split-complementary
#298229 #552982 #822955
monochromatic
#0C250C #1A531A #298229 #38B138 #5ACB5A

Accessibility & contrast

On white

4.86
#298229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#298229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298229
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298229#FFFFFF#000000##FFFFFF
##2982291.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761D
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#137E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #298229;
/* rgb */ color: rgb(41, 130, 41);
/* oklch */ color: oklch(53.5% 0.151 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a767',
    500: '#298229',
    950: '#000000',
  },
}
SCSS
$custom: #298229;
$custom-light: #70a767;
$custom-dark: #000000;
JSON
{
  "hex": "#298229",
  "rgb": {
    "r": 41,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 120,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.15075,
    "h": 143.1
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#298229
secondary
#B056B0
accent
#4CDBDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #298229

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

Preview Lab → · Contrast checker → · Palette generator →

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