#42702B#42702B

#42702B is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.6% C 0.112 H 136.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#42702B
RGBrgb(66, 112, 43)
HSLhsl(100, 45%, 30%)
HSVhsv(100, 62%, 44%)
CMYKcmyk(41.1%, 0%, 61.6%, 56.1%)
CIE-LABlab(42.64, -29.38, 32.83)
CIE-LCHlch(42.64, 44.06, 131.83°)
OKLaboklab(49.56% -0.0812 0.077)
OKLCHoklch(49.56% 0.112 136.5)
XYZxyz(8.4768, 12.9206, 4.3323)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42702B #592B70
analogous
#64702B #42702B #2B7036
triadic
#42702B #2B4270 #702B42
tetradic
#42702B #2B6470 #592B70 #70362B
square
#42702B #2B6470 #592B70 #70362B
split-complementary
#42702B #362B70 #702B64
monochromatic
#0E1809 #28441A #42702B #5C9C3C #79BE57

Accessibility & contrast

On white

5.86
#42702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#42702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42702B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42702B#FFFFFF#000000##FFFFFF
##42702B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746724
Deuteranopia (green-blind)
#6D6330
Tritanopia (blue-blind)
#406C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #42702b;
/* rgb */ color: rgb(66, 112, 43);
/* oklch */ color: oklch(49.6% 0.112 136.5);
Tailwind
colors: {
  custom: {
    50: '#7a9967',
    500: '#42702b',
    950: '#000000',
  },
}
SCSS
$custom: #42702b;
$custom-light: #7a9967;
$custom-dark: #000000;
JSON
{
  "hex": "#42702b",
  "rgb": {
    "r": 66,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 100,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.11187,
    "h": 136.5
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#42702B
secondary
#8855A2
accent
#54D4A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #42702B

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

Preview Lab → · Contrast checker → · Palette generator →

#42702B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva