#42641F#42641F

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

Color values

HEX#42641F
RGBrgb(66, 100, 31)
HSLhsl(90, 53%, 26%)
HSVhsv(90, 69%, 39%)
CMYKcmyk(34%, 0%, 69%, 60.8%)
CIE-LABlab(38.50, -24.82, 34.06)
CIE-LCHlch(38.50, 42.15, 126.09°)
OKLaboklab(46.14% -0.0697 0.0781)
OKLCHoklch(46.14% 0.105 131.8)
XYZxyz(7.0512, 10.3713, 2.9264)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42641F #411F64
analogous
#64631F #42641F #1F641F
triadic
#42641F #1F4264 #641F42
tetradic
#42641F #1F6463 #411F64 #641F1F
square
#42641F #1F6463 #411F64 #641F1F
split-complementary
#42641F #1F1F64 #631F64
monochromatic
#0F1707 #233511 #42641F #61932D #80C13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42641F#FFFFFF#000000##FFFFFF
##42641F1.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)
#685C16
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#436056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42641f;
/* rgb */ color: rgb(66, 100, 31);
/* oklch */ color: oklch(46.1% 0.105 131.8);
Tailwind
colors: {
  custom: {
    50: '#79905e',
    500: '#42641f',
    950: '#000000',
  },
}
SCSS
$custom: #42641f;
$custom-light: #79905e;
$custom-dark: #000000;
JSON
{
  "hex": "#42641f",
  "rgb": {
    "r": 66,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 89.565,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.10471,
    "h": 131.8
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#42641F
secondary
#6F4698
accent
#4CDC93
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #42641F

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

Preview Lab → · Contrast checker → · Palette generator →

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