#42641B#42641B

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

Color values

HEX#42641B
RGBrgb(66, 100, 27)
HSLhsl(88, 57%, 25%)
HSVhsv(88, 73%, 39%)
CMYKcmyk(34%, 0%, 73%, 60.8%)
CIE-LABlab(38.47, -25.17, 35.83)
CIE-LCHlch(38.47, 43.79, 125.08°)
OKLaboklab(46.1% -0.071 0.0812)
OKLCHoklch(46.1% 0.108 131.2)
XYZxyz(7.0017, 10.3515, 2.6658)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42641B #3D1B64
analogous
#64611B #42641B #1E641B
triadic
#42641B #1B4264 #641B42
tetradic
#42641B #1B6461 #3D1B64 #641B1E
square
#42641B #1B6461 #3D1B64 #641B1E
split-complementary
#42641B #1B1E64 #611B64
monochromatic
#101807 #22340E #42641B #629428 #82C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42641B#FFFFFF#000000##FFFFFF
##42641B1.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)
#695C10
Deuteranopia (green-blind)
#645A21
Tritanopia (blue-blind)
#436055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42641b;
/* rgb */ color: rgb(66, 100, 27);
/* oklch */ color: oklch(46.1% 0.108 131.2);
Tailwind
colors: {
  custom: {
    50: '#79905c',
    500: '#42641b',
    950: '#000000',
  },
}
SCSS
$custom: #42641b;
$custom-light: #79905c;
$custom-dark: #000000;
JSON
{
  "hex": "#42641b",
  "rgb": {
    "r": 66,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 87.945,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46102,
    "c": 0.10791,
    "h": 131.2
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#42641B
secondary
#6A4199
accent
#47E18F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42641B

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

Preview Lab → · Contrast checker → · Palette generator →

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