#296820#296820

#296820 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.123 H 141.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#296820
RGBrgb(41, 104, 32)
HSLhsl(113, 53%, 27%)
HSVhsv(113, 69%, 41%)
CMYKcmyk(60.6%, 0%, 69.2%, 59.2%)
CIE-LABlab(38.68, -35.24, 33.44)
CIE-LCHlch(38.68, 48.58, 136.50°)
OKLaboklab(45.97% -0.0963 0.0772)
OKLCHoklch(45.97% 0.123 141.3)
XYZxyz(6.1252, 10.4758, 3.0655)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#296820 #5F2068
analogous
#4D6820 #296820 #20683B
triadic
#296820 #202968 #682029
tetradic
#296820 #204D68 #5F2068 #683B20
square
#296820 #204D68 #5F2068 #683B20
split-complementary
#296820 #3B2068 #68204D
monochromatic
#091707 #173912 #296820 #3B972E #4FC43F

Accessibility & contrast

On white

6.78
#296820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#296820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #296820
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##296820#FFFFFF#000000##FFFFFF
##2968201.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E17
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #296820;
/* rgb */ color: rgb(41, 104, 32);
/* oklch */ color: oklch(46.0% 0.123 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a945f',
    500: '#296820',
    950: '#000000',
  },
}
SCSS
$custom: #296820;
$custom-light: #6a945f;
$custom-dark: #000000;
JSON
{
  "hex": "#296820",
  "rgb": {
    "r": 41,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 112.5,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.12343,
    "h": 141.3
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#296820
secondary
#92489C
accent
#4BDCCA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #296820

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

Preview Lab → · Contrast checker → · Palette generator →

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