#298427#298427

#298427 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.155 H 142.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#298427
RGBrgb(41, 132, 39)
HSLhsl(119, 54%, 34%)
HSVhsv(119, 70%, 52%)
CMYKcmyk(68.9%, 0%, 70.5%, 48.2%)
CIE-LABlab(48.41, -45.33, 40.79)
CIE-LCHlch(48.41, 60.98, 138.02°)
OKLaboklab(54.03% -0.1232 0.0936)
OKLCHoklch(54.03% 0.155 142.8)
XYZxyz(9.5314, 17.1194, 4.7211)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298427 #822784
analogous
#578427 #298427 #278453
triadic
#298427 #272984 #842729
tetradic
#298427 #275784 #822784 #845327
square
#298427 #275784 #822784 #845327
split-complementary
#298427 #532784 #842757
monochromatic
#0C260B #1A5519 #298427 #38B335 #5ACE58

Accessibility & contrast

On white

4.75
#298427 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#298427 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298427
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298427#FFFFFF#000000##FFFFFF
##2984271.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87771A
Deuteranopia (green-blind)
#7C7030
Tritanopia (blue-blind)
#138071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #298427;
/* rgb */ color: rgb(41, 132, 39);
/* oklch */ color: oklch(54.0% 0.155 142.8);
Tailwind
colors: {
  custom: {
    50: '#70a966',
    500: '#298427',
    950: '#000000',
  },
}
SCSS
$custom: #298427;
$custom-light: #70a966;
$custom-dark: #000000;
JSON
{
  "hex": "#298427",
  "rgb": {
    "r": 41,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 118.71,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54028,
    "c": 0.15472,
    "h": 142.8
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#298427
secondary
#B054B2
accent
#4ADEDB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #298427

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

Preview Lab → · Contrast checker → · Palette generator →

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