#42792D#42792D

#42792D is a mid, vivid green. Relative luminance 0.150; OKLCH L 52.0% C 0.123 H 138.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#42792D
RGBrgb(66, 121, 45)
HSLhsl(103, 46%, 33%)
HSVhsv(103, 63%, 47%)
CMYKcmyk(45.5%, 0%, 62.8%, 52.5%)
CIE-LABlab(45.66, -33.29, 35.28)
CIE-LCHlch(45.66, 48.51, 133.33°)
OKLaboklab(52.04% -0.0917 0.0824)
OKLCHoklch(52.04% 0.123 138)
XYZxyz(9.5575, 15.0219, 4.8780)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42792D #642D79
analogous
#68792D #42792D #2D793E
triadic
#42792D #2D4279 #792D42
tetradic
#42792D #2D6879 #642D79 #793E2D
square
#42792D #2D6879 #642D79 #793E2D
split-complementary
#42792D #3E2D79 #792D68
monochromatic
#11200C #2A4C1C #42792D #5AA63E #7AC35D

Accessibility & contrast

On white

5.24
#42792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#42792D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42792D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42792D#FFFFFF#000000##FFFFFF
##42792D1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F25
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#3F7569
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #42792d;
/* rgb */ color: rgb(66, 121, 45);
/* oklch */ color: oklch(52.0% 0.123 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ba069',
    500: '#42792d',
    950: '#000000',
  },
}
SCSS
$custom: #42792d;
$custom-light: #7ba069;
$custom-dark: #000000;
JSON
{
  "hex": "#42792d",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 103.421,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52035,
    "c": 0.1233,
    "h": 138
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#42792D
secondary
#9358A9
accent
#52D5B1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #42792D

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

Preview Lab → · Contrast checker → · Palette generator →

#42792D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva