#298034#298034

#298034 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.139 H 145.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#298034
RGBrgb(41, 128, 52)
HSLhsl(128, 51%, 33%)
HSVhsv(128, 68%, 50%)
CMYKcmyk(68%, 0%, 59.4%, 49.8%)
CIE-LABlab(47.18, -42.31, 33.34)
CIE-LCHlch(47.18, 53.87, 141.77°)
OKLaboklab(53.05% -0.1144 0.0791)
OKLCHoklch(53.05% 0.139 145.4)
XYZxyz(9.2529, 16.1567, 5.8791)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298034 #802975
analogous
#498029 #298034 #29805F
triadic
#298034 #342980 #803429
tetradic
#298034 #294980 #802975 #805F29
square
#298034 #294980 #802975 #805F29
split-complementary
#298034 #5F2980 #802949
monochromatic
#0B230E #1A5221 #298034 #38AE47 #59CA68

Accessibility & contrast

On white

4.96
#298034 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#298034 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298034
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298034#FFFFFF#000000##FFFFFF
##2980341.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742C
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#107D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298034;
/* rgb */ color: rgb(41, 128, 52);
/* oklch */ color: oklch(53.1% 0.139 145.4);
Tailwind
colors: {
  custom: {
    50: '#6fa66e',
    500: '#298034',
    950: '#000000',
  },
}
SCSS
$custom: #298034;
$custom-light: #6fa66e;
$custom-dark: #000000;
JSON
{
  "hex": "#298034",
  "rgb": {
    "r": 41,
    "g": 128,
    "b": 52
  },
  "hsl": {
    "h": 127.586,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.13905,
    "h": 145.4
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#298034
secondary
#AF55A4
accent
#4DC9DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #298034

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

Preview Lab → · Contrast checker → · Palette generator →

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