#42641E#42641E

#42641E is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.106 H 131.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#42641E
RGBrgb(66, 100, 30)
HSLhsl(89, 54%, 25%)
HSVhsv(89, 70%, 39%)
CMYKcmyk(34%, 0%, 70%, 60.8%)
CIE-LABlab(38.49, -24.91, 34.51)
CIE-LCHlch(38.49, 42.57, 125.82°)
OKLaboklab(46.13% -0.0701 0.0789)
OKLCHoklch(46.13% 0.106 131.6)
XYZxyz(7.0382, 10.3661, 2.8581)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42641E #401E64
analogous
#64631E #42641E #1F641E
triadic
#42641E #1E4264 #641E42
tetradic
#42641E #1E6463 #401E64 #641E1F
square
#42641E #1E6463 #401E64 #641E1F
split-complementary
#42641E #1E1F64 #631E64
monochromatic
#101807 #233510 #42641E #61932C #80C23A

Accessibility & contrast

On white

6.83
#42641E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#42641E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42641E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42641E#FFFFFF#000000##FFFFFF
##42641E1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C15
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#436056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42641e;
/* rgb */ color: rgb(66, 100, 30);
/* oklch */ color: oklch(46.1% 0.106 131.6);
Tailwind
colors: {
  custom: {
    50: '#79905e',
    500: '#42641e',
    950: '#000000',
  },
}
SCSS
$custom: #42641e;
$custom-light: #79905e;
$custom-dark: #000000;
JSON
{
  "hex": "#42641e",
  "rgb": {
    "r": 66,
    "g": 100,
    "b": 30
  },
  "hsl": {
    "h": 89.143,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46131,
    "c": 0.10554,
    "h": 131.6
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#42641E
secondary
#6E4599
accent
#4BDD92
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42641E

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

Preview Lab → · Contrast checker → · Palette generator →

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