#298C2F#298C2F

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

Color values

HEX#298C2F
RGBrgb(41, 140, 47)
HSLhsl(124, 55%, 35%)
HSVhsv(124, 71%, 55%)
CMYKcmyk(70.7%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.19, -47.39, 40.29)
CIE-LCHlch(51.19, 62.20, 139.63°)
OKLaboklab(56.35% -0.1284 0.0935)
OKLCHoklch(56.35% 0.159 143.9)
XYZxyz(10.8049, 19.4317, 5.8700)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298C2F #8C2986
analogous
#558C29 #298C2F #298C60
triadic
#298C2F #2F298C #8C2F29
tetradic
#298C2F #29558C #8C2986 #8C6029
square
#298C2F #29558C #8C2986 #8C6029
split-complementary
#298C2F #60298C #8C2955
monochromatic
#0D2D0F #1B5D1F #298C2F #37BB3F #5FD066

Accessibility & contrast

On white

4.30
#298C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##298C2F#FFFFFF#000000##000000
##298C2F1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#098879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #298c2f;
/* rgb */ color: rgb(41, 140, 47);
/* oklch */ color: oklch(56.4% 0.159 143.9);
Tailwind
colors: {
  custom: {
    50: '#72af6c',
    500: '#298c2f',
    950: '#000000',
  },
}
SCSS
$custom: #298c2f;
$custom-light: #72af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#298c2f",
  "rgb": {
    "r": 41,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 123.636,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56352,
    "c": 0.15881,
    "h": 143.9
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#298C2F
secondary
#B65BB0
accent
#4AD5DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #298C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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