#298F1A#298F1A

#298F1A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.0% C 0.175 H 141.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#298F1A
RGBrgb(41, 143, 26)
HSLhsl(112, 69%, 33%)
HSVhsv(112, 82%, 56%)
CMYKcmyk(71.3%, 0%, 81.8%, 43.9%)
CIE-LABlab(52.05, -50.23, 49.23)
CIE-LCHlch(52.05, 70.33, 135.58°)
OKLaboklab(57.02% -0.1371 0.1094)
OKLCHoklch(57.02% 0.175 141.4)
XYZxyz(10.9228, 20.1897, 4.2985)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298F1A #801A8F
analogous
#638F1A #298F1A #1A8F46
triadic
#298F1A #1A298F #8F1A29
tetradic
#298F1A #1A638F #801A8F #8F461A
square
#298F1A #1A638F #801A8F #8F461A
split-complementary
#298F1A #461A8F #8F1A63
monochromatic
#0B2707 #1A5B11 #298F1A #38C323 #59DD46

Accessibility & contrast

On white

4.17
#298F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#298F1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298F1A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298F1A#FFFFFF#000000##000000
##298F1A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#0F8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #298f1a;
/* rgb */ color: rgb(41, 143, 26);
/* oklch */ color: oklch(57.0% 0.175 141.4);
Tailwind
colors: {
  custom: {
    50: '#73b161',
    500: '#298f1a',
    950: '#000000',
  },
}
SCSS
$custom: #298f1a;
$custom-light: #73b161;
$custom-dark: #000000;
JSON
{
  "hex": "#298f1a",
  "rgb": {
    "r": 41,
    "g": 143,
    "b": 26
  },
  "hsl": {
    "h": 112.308,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.17544,
    "h": 141.4
  },
  "luminance": 0.20191
}

Semantic roles & 50–950 ramp

primary
#298F1A
secondary
#AF46BF
accent
#3CECD5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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