#298028#298028

#298028 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.149 H 143.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#298028
RGBrgb(41, 128, 40)
HSLhsl(119, 52%, 33%)
HSVhsv(119, 69%, 50%)
CMYKcmyk(68%, 0%, 68.8%, 49.8%)
CIE-LABlab(47.06, -43.76, 38.90)
CIE-LCHlch(47.06, 58.55, 138.37°)
OKLaboklab(52.91% -0.1189 0.0897)
OKLCHoklch(52.91% 0.149 143)
XYZxyz(9.0161, 16.0620, 4.6322)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298028 #7F2880
analogous
#558028 #298028 #288053
triadic
#298028 #282980 #802829
tetradic
#298028 #285580 #7F2880 #805328
square
#298028 #285580 #7F2880 #805328
split-complementary
#298028 #532880 #802855
monochromatic
#0B230B #1A5119 #298028 #38AF37 #59CB58

Accessibility & contrast

On white

4.99
#298028 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#298028 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298028
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298028#FFFFFF#000000##FFFFFF
##2980281.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741C
Deuteranopia (green-blind)
#786D30
Tritanopia (blue-blind)
#157C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298028;
/* rgb */ color: rgb(41, 128, 40);
/* oklch */ color: oklch(52.9% 0.149 143.0);
Tailwind
colors: {
  custom: {
    50: '#6fa666',
    500: '#298028',
    950: '#000000',
  },
}
SCSS
$custom: #298028;
$custom-light: #6fa666;
$custom-dark: #000000;
JSON
{
  "hex": "#298028",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 119.318,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.14896,
    "h": 143
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#298028
secondary
#AF54B0
accent
#4CDCDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #298028

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

Preview Lab → · Contrast checker → · Palette generator →

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