#298E1B#298E1B

#298E1B is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.174 H 141.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#298E1B
RGBrgb(41, 142, 27)
HSLhsl(113, 68%, 33%)
HSVhsv(113, 81%, 56%)
CMYKcmyk(71.1%, 0%, 81%, 44.3%)
CIE-LABlab(51.72, -49.83, 48.60)
CIE-LCHlch(51.72, 69.61, 135.71°)
OKLaboklab(56.75% -0.136 0.1083)
OKLCHoklch(56.75% 0.174 141.5)
XYZxyz(10.7847, 19.8954, 4.3085)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E1B #801B8E
analogous
#628E1B #298E1B #1B8E47
triadic
#298E1B #1B298E #8E1B29
tetradic
#298E1B #1B628E #801B8E #8E471B
square
#298E1B #1B628E #801B8E #8E471B
split-complementary
#298E1B #471B8E #8E1B62
monochromatic
#0B2707 #1A5B11 #298E1B #38C125 #59DC47

Accessibility & contrast

On white

4.22
#298E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#298E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E1B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E1B#FFFFFF#000000##000000
##298E1B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#108979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e1b;
/* rgb */ color: rgb(41, 142, 27);
/* oklch */ color: oklch(56.7% 0.174 141.5);
Tailwind
colors: {
  custom: {
    50: '#73b062',
    500: '#298e1b',
    950: '#000000',
  },
}
SCSS
$custom: #298e1b;
$custom-light: #73b062;
$custom-dark: #000000;
JSON
{
  "hex": "#298e1b",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 112.696,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.17382,
    "h": 141.5
  },
  "luminance": 0.19897
}

Semantic roles & 50–950 ramp

primary
#298E1B
secondary
#AF47BE
accent
#3DEBD6
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091105
muted
#7B807A

Preview Lab

Preview with #298E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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