#298331#298331

#298331 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.146 H 144.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#298331
RGBrgb(41, 131, 49)
HSLhsl(125, 52%, 34%)
HSVhsv(125, 69%, 51%)
CMYKcmyk(68.7%, 0%, 62.6%, 48.6%)
CIE-LABlab(48.17, -43.85, 35.96)
CIE-LCHlch(48.17, 56.71, 140.65°)
OKLaboklab(53.86% -0.1187 0.0845)
OKLCHoklch(53.86% 0.146 144.6)
XYZxyz(9.5845, 16.9248, 5.6668)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298331 #83297B
analogous
#4E8329 #298331 #29835E
triadic
#298331 #312983 #833129
tetradic
#298331 #294E83 #83297B #835E29
square
#298331 #294E83 #83297B #835E29
split-complementary
#298331 #5E2983 #83294E
monochromatic
#0C260E #1A5420 #298331 #38B242 #5BCC65

Accessibility & contrast

On white

4.79
#298331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#298331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298331
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298331#FFFFFF#000000##FFFFFF
##2983311.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857728
Deuteranopia (green-blind)
#7B6F38
Tritanopia (blue-blind)
#0F8071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #298331;
/* rgb */ color: rgb(41, 131, 49);
/* oklch */ color: oklch(53.9% 0.146 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fa86c',
    500: '#298331',
    950: '#000000',
  },
}
SCSS
$custom: #298331;
$custom-light: #6fa86c;
$custom-dark: #000000;
JSON
{
  "hex": "#298331",
  "rgb": {
    "r": 41,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 125.333,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.14566,
    "h": 144.6
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#298331
secondary
#B157A9
accent
#4CCFDC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #298331

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

Preview Lab → · Contrast checker → · Palette generator →

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