#298C31#298C31

#298C31 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.157 H 144.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#298C31
RGBrgb(41, 140, 49)
HSLhsl(125, 55%, 35%)
HSVhsv(125, 71%, 55%)
CMYKcmyk(70.7%, 0%, 65%, 45.1%)
CIE-LABlab(51.21, -47.17, 39.40)
CIE-LCHlch(51.21, 61.46, 140.13°)
OKLaboklab(56.37% -0.1277 0.0918)
OKLCHoklch(56.37% 0.157 144.3)
XYZxyz(10.8462, 19.4482, 6.0874)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C31 #8C2984
analogous
#538C29 #298C31 #298C62
triadic
#298C31 #31298C #8C3129
tetradic
#298C31 #29538C #8C2984 #8C6229
square
#298C31 #29538C #8C2984 #8C6229
split-complementary
#298C31 #62298C #8C2953
monochromatic
#0D2D10 #1B5D20 #298C31 #37BB42 #5FD068

Accessibility & contrast

On white

4.29
#298C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#298C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298C31
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298C31#FFFFFF#000000##000000
##298C311.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#078879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c31;
/* rgb */ color: rgb(41, 140, 49);
/* oklch */ color: oklch(56.4% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#71af6d',
    500: '#298c31',
    950: '#000000',
  },
}
SCSS
$custom: #298c31;
$custom-light: #71af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#298c31",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 49
  },
  "hsl": {
    "h": 124.848,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.15725,
    "h": 144.3
  },
  "luminance": 0.19449
}

Semantic roles & 50–950 ramp

primary
#298C31
secondary
#B65BAE
accent
#4AD2DE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C31

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

Preview Lab → · Contrast checker → · Palette generator →

#298C31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva