#298E27#298E27

#298E27 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.8% C 0.167 H 142.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#298E27
RGBrgb(41, 142, 39)
HSLhsl(119, 57%, 35%)
HSVhsv(119, 73%, 56%)
CMYKcmyk(71.1%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.80, -48.91, 44.35)
CIE-LCHlch(51.80, 66.02, 137.80°)
OKLaboklab(56.83% -0.1329 0.1011)
OKLCHoklch(56.83% 0.167 142.7)
XYZxyz(10.9530, 19.9627, 5.1950)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#298E27 #8C278E
analogous
#5C8E27 #298E27 #278E58
triadic
#298E27 #27298E #8E2729
tetradic
#298E27 #275C8E #8C278E #8E5827
square
#298E27 #275C8E #8C278E #8E5827
split-complementary
#298E27 #58278E #8E275C
monochromatic
#0D2E0D #1B5E1A #298E27 #37BE34 #5FD25D

Accessibility & contrast

On white

4.21
#298E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#298E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #298E27
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##298E27#FFFFFF#000000##000000
##298E271.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918016
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#0B8A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #298e27;
/* rgb */ color: rgb(41, 142, 39);
/* oklch */ color: oklch(56.8% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#72b067',
    500: '#298e27',
    950: '#000000',
  },
}
SCSS
$custom: #298e27;
$custom-light: #72b067;
$custom-dark: #000000;
JSON
{
  "hex": "#298e27",
  "rgb": {
    "r": 41,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 118.835,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.16694,
    "h": 142.7
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#298E27
secondary
#B659B8
accent
#48E0DD
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #298E27

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

Preview Lab → · Contrast checker → · Palette generator →

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