#299728#299728

#299728 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.3% C 0.177 H 142.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#299728
RGBrgb(41, 151, 40)
HSLhsl(119, 58%, 37%)
HSVhsv(119, 74%, 59%)
CMYKcmyk(72.8%, 0%, 73.5%, 40.8%)
CIE-LABlab(54.82, -51.92, 47.08)
CIE-LCHlch(54.82, 70.09, 137.80°)
OKLaboklab(59.35% -0.141 0.1069)
OKLCHoklch(59.35% 0.177 142.8)
XYZxyz(12.3633, 22.7565, 5.7479)
Luminance0.2276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299728 #962897
analogous
#619728 #299728 #28975E
triadic
#299728 #282997 #972829
tetradic
#299728 #286197 #962897 #975E28
square
#299728 #286197 #962897 #975E28
split-complementary
#299728 #5E2897 #972861
monochromatic
#0F360E #1C671B #299728 #36C735 #65D664

Accessibility & contrast

On white

3.78
#299728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#299728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #299728
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##299728#FFFFFF#000000##000000
##2997281.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8815
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#019281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #299728;
/* rgb */ color: rgb(41, 151, 40);
/* oklch */ color: oklch(59.3% 0.177 142.8);
Tailwind
colors: {
  custom: {
    50: '#74b769',
    500: '#299728',
    950: '#000000',
  },
}
SCSS
$custom: #299728;
$custom-light: #74b769;
$custom-dark: #000000;
JSON
{
  "hex": "#299728",
  "rgb": {
    "r": 41,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 119.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.17695,
    "h": 142.8
  },
  "luminance": 0.22758
}

Semantic roles & 50–950 ramp

primary
#299728
secondary
#BB5FBC
accent
#46E1E0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #299728

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

Preview Lab → · Contrast checker → · Palette generator →

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