#42661A#42661A

#42661A is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.6% C 0.112 H 131.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#42661A
RGBrgb(66, 102, 26)
HSLhsl(88, 59%, 25%)
HSVhsv(88, 75%, 40%)
CMYKcmyk(35.3%, 0%, 74.5%, 60%)
CIE-LABlab(39.13, -26.23, 36.94)
CIE-LCHlch(39.13, 45.31, 125.37°)
OKLaboklab(46.64% -0.074 0.0834)
OKLCHoklch(46.64% 0.112 131.6)
XYZxyz(7.1845, 10.7353, 2.6707)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42661A #3E1A66
analogous
#66641A #42661A #1C661A
triadic
#42661A #1A4266 #661A42
tetradic
#42661A #1A6664 #3E1A66 #661A1C
square
#42661A #1A6664 #3E1A66 #661A1C
split-complementary
#42661A #1A1C66 #641A66
monochromatic
#101806 #22350E #42661A #629726 #81C833

Accessibility & contrast

On white

6.67
#42661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42661A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42661A#FFFFFF#000000##FFFFFF
##42661A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0E
Deuteranopia (green-blind)
#665B21
Tritanopia (blue-blind)
#436257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #42661a;
/* rgb */ color: rgb(66, 102, 26);
/* oklch */ color: oklch(46.6% 0.112 131.6);
Tailwind
colors: {
  custom: {
    50: '#7a925c',
    500: '#42661a',
    950: '#000000',
  },
}
SCSS
$custom: #42661a;
$custom-light: #7a925c;
$custom-dark: #000000;
JSON
{
  "hex": "#42661a",
  "rgb": {
    "r": 66,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 88.421,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.11151,
    "h": 131.6
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#42661A
secondary
#6B409C
accent
#45E390
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #42661A

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

Preview Lab → · Contrast checker → · Palette generator →

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