#298120#298120

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

Color values

HEX#298120
RGBrgb(41, 129, 32)
HSLhsl(114, 60%, 32%)
HSVhsv(114, 75%, 51%)
CMYKcmyk(68.2%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.33, -44.88, 42.53)
CIE-LCHlch(47.33, 61.83, 136.54°)
OKLaboklab(53.12% -0.1224 0.0963)
OKLCHoklch(53.12% 0.156 141.8)
XYZxyz(9.0249, 16.2753, 4.0321)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298120 #782081
analogous
#5A8120 #298120 #208148
triadic
#298120 #202981 #812029
tetradic
#298120 #205A81 #782081 #814820
square
#298120 #205A81 #782081 #814820
split-complementary
#298120 #482081 #81205A
monochromatic
#0A1F08 #195014 #298120 #39B22C #56D249

Accessibility & contrast

On white

4.94
#298120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #298120
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298120#FFFFFF#000000##FFFFFF
##2981201.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#177D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #298120;
/* rgb */ color: rgb(41, 129, 32);
/* oklch */ color: oklch(53.1% 0.156 141.8);
Tailwind
colors: {
  custom: {
    50: '#70a662',
    500: '#298120',
    950: '#000000',
  },
}
SCSS
$custom: #298120;
$custom-light: #70a662;
$custom-dark: #000000;
JSON
{
  "hex": "#298120",
  "rgb": {
    "r": 41,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 114.433,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.15573,
    "h": 141.8
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#298120
secondary
#AA49B4
accent
#44E3D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #298120

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

Preview Lab → · Contrast checker → · Palette generator →

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