#298E2A#298E2A

#298E2A is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.165 H 143.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#298E2A
RGBrgb(41, 142, 42)
HSLhsl(121, 55%, 36%)
HSVhsv(121, 71%, 56%)
CMYKcmyk(71.1%, 0%, 70.4%, 44.3%)
CIE-LABlab(51.82, -48.62, 43.14)
CIE-LCHlch(51.82, 65.00, 138.42°)
OKLaboklab(56.86% -0.132 0.0989)
OKLCHoklch(56.86% 0.165 143.1)
XYZxyz(11.0047, 19.9834, 5.4673)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E2A #8E298D
analogous
#5A8E29 #298E2A #298E5C
triadic
#298E2A #2A298E #8E2A29
tetradic
#298E2A #295A8E #8E298D #8E5C29
square
#298E2A #295A8E #8E298D #8E5C29
split-complementary
#298E2A #5C298E #8E295A
monochromatic
#0E2F0E #1B5F1C #298E2A #37BD38 #60D161

Accessibility & contrast

On white

4.20
#298E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#298E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E2A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E2A#FFFFFF#000000##000000
##298E2A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91801B
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#0A8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298e2a;
/* rgb */ color: rgb(41, 142, 42);
/* oklch */ color: oklch(56.9% 0.165 143.1);
Tailwind
colors: {
  custom: {
    50: '#72b069',
    500: '#298e2a',
    950: '#000000',
  },
}
SCSS
$custom: #298e2a;
$custom-light: #72b069;
$custom-dark: #000000;
JSON
{
  "hex": "#298e2a",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 120.594,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.16493,
    "h": 143.1
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#298E2A
secondary
#B75CB6
accent
#49DDDF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #298E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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