#42642E#42642E

#42642E is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.090 H 135.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#42642E
RGBrgb(66, 100, 46)
HSLhsl(98, 37%, 29%)
HSVhsv(98, 54%, 39%)
CMYKcmyk(34%, 0%, 54%, 60.8%)
CIE-LABlab(38.67, -23.15, 26.58)
CIE-LCHlch(38.67, 35.25, 131.06°)
OKLaboklab(46.34% -0.0639 0.0636)
OKLCHoklch(46.34% 0.09 135.1)
XYZxyz(7.2969, 10.4696, 4.2206)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42642E #502E64
analogous
#5D642E #42642E #2E6435
triadic
#42642E #2E4264 #642E42
tetradic
#42642E #2E5D64 #502E64 #64352E
square
#42642E #2E5D64 #502E64 #64352E
split-complementary
#42642E #352E64 #642E5D
monochromatic
#0E150A #263A1B #42642E #5E8E41 #7BB35A

Accessibility & contrast

On white

6.79
#42642E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#42642E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42642E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42642E#FFFFFF#000000##FFFFFF
##42642E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D29
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#426158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42642e;
/* rgb */ color: rgb(66, 100, 46);
/* oklch */ color: oklch(46.3% 0.090 135.1);
Tailwind
colors: {
  custom: {
    50: '#789068',
    500: '#42642e',
    950: '#000000',
  },
}
SCSS
$custom: #42642e;
$custom-light: #789068;
$custom-dark: #000000;
JSON
{
  "hex": "#42642e",
  "rgb": {
    "r": 66,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 97.778,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.09015,
    "h": 135.1
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#42642E
secondary
#7F5896
accent
#5BCDA3
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #42642E

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

Preview Lab → · Contrast checker → · Palette generator →

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