#298622#298622

#298622 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.5% C 0.161 H 142.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#298622
RGBrgb(41, 134, 34)
HSLhsl(116, 60%, 33%)
HSVhsv(116, 75%, 53%)
CMYKcmyk(69.4%, 0%, 74.6%, 47.5%)
CIE-LABlab(49.05, -46.51, 43.50)
CIE-LCHlch(49.05, 63.69, 136.92°)
OKLaboklab(54.55% -0.1267 0.0986)
OKLCHoklch(54.55% 0.161 142.1)
XYZxyz(9.7277, 17.6361, 4.4045)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298622 #7F2286
analogous
#5B8622 #298622 #22864D
triadic
#298622 #222986 #862229
tetradic
#298622 #225B86 #7F2286 #864D22
square
#298622 #225B86 #7F2286 #864D22
split-complementary
#298622 #4D2286 #86225B
monochromatic
#0B2409 #1A5516 #298622 #38B72E #59D350

Accessibility & contrast

On white

4.64
#298622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#298622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #298622
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298622#FFFFFF#000000##FFFFFF
##2986221.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897910
Deuteranopia (green-blind)
#7E722C
Tritanopia (blue-blind)
#138272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #298622;
/* rgb */ color: rgb(41, 134, 34);
/* oklch */ color: oklch(54.5% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#71aa64',
    500: '#298622',
    950: '#000000',
  },
}
SCSS
$custom: #298622;
$custom-light: #71aa64;
$custom-dark: #000000;
JSON
{
  "hex": "#298622",
  "rgb": {
    "r": 41,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 115.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.16053,
    "h": 142.1
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#298622
secondary
#AF4EB6
accent
#45E3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #298622

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

Preview Lab → · Contrast checker → · Palette generator →

#298622 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva