#42942C#42942C

#42942C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.4% C 0.161 H 139.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#42942C
RGBrgb(66, 148, 44)
HSLhsl(107, 54%, 38%)
HSVhsv(107, 70%, 58%)
CMYKcmyk(55.4%, 0%, 70.3%, 42%)
CIE-LABlab(54.57, -44.67, 45.45)
CIE-LCHlch(54.57, 63.73, 134.51°)
OKLaboklab(59.35% -0.1227 0.1038)
OKLCHoklch(59.35% 0.161 139.8)
XYZxyz(13.2907, 22.5188, 6.0286)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42942C #7E2C94
analogous
#76942C #42942C #2C944A
triadic
#42942C #2C4294 #942C42
tetradic
#42942C #2C7694 #7E2C94 #944A2C
square
#42942C #2C7694 #7E2C94 #944A2C
split-complementary
#42942C #4A2C94 #942C76
monochromatic
#183610 #2D651E #42942C #57C33A #7FD268

Accessibility & contrast

On white

3.82
#42942C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#42942C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42942C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42942C#FFFFFF#000000##000000
##42942C1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871D
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#398F7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42942c;
/* rgb */ color: rgb(66, 148, 44);
/* oklch */ color: oklch(59.4% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#7fb46b',
    500: '#42942c',
    950: '#000000',
  },
}
SCSS
$custom: #42942c;
$custom-light: #7fb46b;
$custom-dark: #000000;
JSON
{
  "hex": "#42942c",
  "rgb": {
    "r": 66,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 107.308,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.1607,
    "h": 139.8
  },
  "luminance": 0.2252
}

Semantic roles & 50–950 ramp

primary
#42942C
secondary
#A763B9
accent
#4ADEBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1107
muted
#7C807A

Preview Lab

Preview with #42942C

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

Preview Lab → · Contrast checker → · Palette generator →

#42942C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva