#298B2A#298B2A

#298B2A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.0% C 0.161 H 143.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#298B2A
RGBrgb(41, 139, 42)
HSLhsl(121, 54%, 35%)
HSVhsv(121, 71%, 55%)
CMYKcmyk(70.5%, 0%, 69.8%, 45.5%)
CIE-LABlab(50.81, -47.56, 42.07)
CIE-LCHlch(50.81, 63.49, 138.51°)
OKLaboklab(56.02% -0.1291 0.0967)
OKLCHoklch(56.02% 0.161 143.2)
XYZxyz(10.5644, 19.1027, 5.3205)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298B2A #8B298A
analogous
#598B29 #298B2A #298B5B
triadic
#298B2A #2A298B #8B2A29
tetradic
#298B2A #29598B #8B298A #8B5B29
square
#298B2A #29598B #8B298A #8B5B29
split-complementary
#298B2A #5B298B #8B2959
monochromatic
#0D2C0D #1B5C1C #298B2A #37BA38 #5FD060

Accessibility & contrast

On white

4.36
#298B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#298B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298B2A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298B2A#FFFFFF#000000##000000
##298B2A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#0D8777
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #298b2a;
/* rgb */ color: rgb(41, 139, 42);
/* oklch */ color: oklch(56.0% 0.161 143.2);
Tailwind
colors: {
  custom: {
    50: '#72ae69',
    500: '#298b2a',
    950: '#000000',
  },
}
SCSS
$custom: #298b2a;
$custom-light: #72ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#298b2a",
  "rgb": {
    "r": 41,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 120.612,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56021,
    "c": 0.16125,
    "h": 143.2
  },
  "luminance": 0.19104
}

Semantic roles & 50–950 ramp

primary
#298B2A
secondary
#B55BB4
accent
#4ADCDE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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