#42661E#42661E

#42661E is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.7% C 0.108 H 132.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#42661E
RGBrgb(66, 102, 30)
HSLhsl(90, 55%, 26%)
HSVhsv(90, 71%, 40%)
CMYKcmyk(35.3%, 0%, 70.6%, 60%)
CIE-LABlab(39.16, -25.90, 35.23)
CIE-LCHlch(39.16, 43.72, 126.32°)
OKLaboklab(46.68% -0.0728 0.0804)
OKLCHoklch(46.68% 0.108 132.1)
XYZxyz(7.2324, 10.7545, 2.9228)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42661E #421E66
analogous
#66661E #42661E #1E661E
triadic
#42661E #1E4266 #661E42
tetradic
#42661E #1E6666 #421E66 #661E1E
square
#42661E #1E6666 #421E66 #661E1E
split-complementary
#42661E #1E1E66 #661E66
monochromatic
#0F1807 #233710 #42661E #61952C #7FC53A

Accessibility & contrast

On white

6.66
#42661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#42661E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42661E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42661E#FFFFFF#000000##FFFFFF
##42661E1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E14
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#436257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #42661e;
/* rgb */ color: rgb(66, 102, 30);
/* oklch */ color: oklch(46.7% 0.108 132.1);
Tailwind
colors: {
  custom: {
    50: '#79925e',
    500: '#42661e',
    950: '#000000',
  },
}
SCSS
$custom: #42661e;
$custom-light: #79925e;
$custom-dark: #000000;
JSON
{
  "hex": "#42661e",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46679,
    "c": 0.10845,
    "h": 132.1
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#42661E
secondary
#70459B
accent
#4ADE94
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #42661E

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

Preview Lab → · Contrast checker → · Palette generator →

#42661E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva