#299731#299731

#299731 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.171 H 144.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#299731
RGBrgb(41, 151, 49)
HSLhsl(124, 57%, 38%)
HSVhsv(124, 73%, 59%)
CMYKcmyk(72.8%, 0%, 67.5%, 40.8%)
CIE-LABlab(54.89, -51.06, 43.46)
CIE-LCHlch(54.89, 67.06, 139.60°)
OKLaboklab(59.43% -0.1382 0.1004)
OKLCHoklch(59.43% 0.171 144)
XYZxyz(12.5346, 22.8250, 6.6502)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#299731 #97298F
analogous
#589729 #299731 #299768
triadic
#299731 #312997 #973129
tetradic
#299731 #295897 #97298F #976829
square
#299731 #295897 #97298F #976829
split-complementary
#299731 #682997 #972958
monochromatic
#0F3712 #1C6721 #299731 #36C741 #65D56D

Accessibility & contrast

On white

3.77
#299731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#299731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #299731
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##299731#FFFFFF#000000##000000
##2997311.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8924
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #299731;
/* rgb */ color: rgb(41, 151, 49);
/* oklch */ color: oklch(59.4% 0.171 144.0);
Tailwind
colors: {
  custom: {
    50: '#74b76e',
    500: '#299731',
    950: '#000000',
  },
}
SCSS
$custom: #299731;
$custom-light: #74b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#299731",
  "rgb": {
    "r": 41,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 124.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59427,
    "c": 0.17086,
    "h": 144
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#299731
secondary
#BB61B5
accent
#47D5E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #299731

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

Preview Lab → · Contrast checker → · Palette generator →

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