#42612E#42612E

#42612E is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.085 H 134.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#42612E
RGBrgb(66, 97, 46)
HSLhsl(96, 36%, 28%)
HSVhsv(96, 53%, 38%)
CMYKcmyk(32%, 0%, 52.6%, 62%)
CIE-LABlab(37.67, -21.61, 25.36)
CIE-LCHlch(37.67, 33.32, 130.44°)
OKLaboklab(45.52% -0.0596 0.0609)
OKLCHoklch(45.52% 0.085 134.4)
XYZxyz(7.0145, 9.9047, 4.1264)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42612E #4D2E61
analogous
#5B612E #42612E #2E6134
triadic
#42612E #2E4261 #612E42
tetradic
#42612E #2E5B61 #4D2E61 #61342E
square
#42612E #2E5B61 #4D2E61 #61342E
split-complementary
#42612E #342E61 #612E5B
monochromatic
#0E150A #26371A #42612E #5E8B42 #7BB059

Accessibility & contrast

On white

7.04
#42612E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#42612E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42612E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42612E#FFFFFF#000000##FFFFFF
##42612E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645A2A
Deuteranopia (green-blind)
#605831
Tritanopia (blue-blind)
#425E55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #42612e;
/* rgb */ color: rgb(66, 97, 46);
/* oklch */ color: oklch(45.5% 0.085 134.4);
Tailwind
colors: {
  custom: {
    50: '#788e68',
    500: '#42612e',
    950: '#000000',
  },
}
SCSS
$custom: #42612e;
$custom-light: #788e68;
$custom-dark: #000000;
JSON
{
  "hex": "#42612e",
  "rgb": {
    "r": 66,
    "g": 97,
    "b": 46
  },
  "hsl": {
    "h": 96.471,
    "s": 35.664,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.08525,
    "h": 134.4
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#42612E
secondary
#7C5893
accent
#5CCCA0
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #42612E

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

Preview Lab → · Contrast checker → · Palette generator →

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