#298122#298122

#298122 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.154 H 142.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#298122
RGBrgb(41, 129, 34)
HSLhsl(116, 58%, 32%)
HSVhsv(116, 74%, 51%)
CMYKcmyk(68.2%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.35, -44.71, 41.75)
CIE-LCHlch(47.35, 61.18, 136.96°)
OKLaboklab(53.14% -0.1218 0.095)
OKLCHoklch(53.14% 0.154 142.1)
XYZxyz(9.0529, 16.2865, 4.1796)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298122 #7A2281
analogous
#598122 #298122 #22814B
triadic
#298122 #222981 #812229
tetradic
#298122 #225981 #7A2281 #814B22
square
#298122 #225981 #7A2281 #814B22
split-complementary
#298122 #4B2281 #812259
monochromatic
#0A2008 #1A5115 #298122 #38B12F #57D04D

Accessibility & contrast

On white

4.93
#298122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#298122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #298122
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298122#FFFFFF#000000##FFFFFF
##2981221.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#167D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298122;
/* rgb */ color: rgb(41, 129, 34);
/* oklch */ color: oklch(53.1% 0.154 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a663',
    500: '#298122',
    950: '#000000',
  },
}
SCSS
$custom: #298122;
$custom-light: #70a663;
$custom-dark: #000000;
JSON
{
  "hex": "#298122",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 115.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53135,
    "c": 0.15444,
    "h": 142.1
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#298122
secondary
#AC4BB3
accent
#46E1D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #298122

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

Preview Lab → · Contrast checker → · Palette generator →

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