#42641C#42641C

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

Color values

HEX#42641C
RGBrgb(66, 100, 28)
HSLhsl(88, 56%, 25%)
HSVhsv(88, 72%, 39%)
CMYKcmyk(34%, 0%, 72%, 60.8%)
CIE-LABlab(38.47, -25.09, 35.40)
CIE-LCHlch(38.47, 43.39, 125.32°)
OKLaboklab(46.11% -0.0707 0.0805)
OKLCHoklch(46.11% 0.107 131.3)
XYZxyz(7.0135, 10.3562, 2.7278)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42641C #3E1C64
analogous
#64621C #42641C #1E641C
triadic
#42641C #1C4264 #641C42
tetradic
#42641C #1C6462 #3E1C64 #641C1E
square
#42641C #1C6462 #3E1C64 #641C1E
split-complementary
#42641C #1C1E64 #621C64
monochromatic
#101807 #22340F #42641C #629429 #81C437

Accessibility & contrast

On white

6.84
#42641C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42641C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42641C#FFFFFF#000000##FFFFFF
##42641C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C12
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#436055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42641c;
/* rgb */ color: rgb(66, 100, 28);
/* oklch */ color: oklch(46.1% 0.107 131.3);
Tailwind
colors: {
  custom: {
    50: '#79905d',
    500: '#42641c',
    950: '#000000',
  },
}
SCSS
$custom: #42641c;
$custom-light: #79905d;
$custom-dark: #000000;
JSON
{
  "hex": "#42641c",
  "rgb": {
    "r": 66,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 88.333,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46112,
    "c": 0.10714,
    "h": 131.3
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#42641C
secondary
#6B4399
accent
#48E090
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42641C

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

Preview Lab → · Contrast checker → · Palette generator →

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