#42671E#42671E

#42671E is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.110 H 132.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42671E
RGBrgb(66, 103, 30)
HSLhsl(90, 55%, 26%)
HSVhsv(90, 71%, 40%)
CMYKcmyk(35.9%, 0%, 70.9%, 59.6%)
CIE-LABlab(39.50, -26.38, 35.58)
CIE-LCHlch(39.50, 44.30, 126.56°)
OKLaboklab(46.95% -0.0741 0.0812)
OKLCHoklch(46.95% 0.11 132.4)
XYZxyz(7.3313, 10.9522, 2.9558)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671E #431E67
analogous
#66671E #42671E #1E671E
triadic
#42671E #1E4267 #671E42
tetradic
#42671E #1E6667 #431E67 #671E1E
square
#42671E #1E6667 #431E67 #671E1E
split-complementary
#42671E #1E1E67 #671E66
monochromatic
#0F1807 #243810 #42671E #60962C #7FC63A

Accessibility & contrast

On white

6.58
#42671E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#42671E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42671E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42671E#FFFFFF#000000##FFFFFF
##42671E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F14
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #42671e;
/* rgb */ color: rgb(66, 103, 30);
/* oklch */ color: oklch(47.0% 0.110 132.4);
Tailwind
colors: {
  custom: {
    50: '#7a925e',
    500: '#42671e',
    950: '#000000',
  },
}
SCSS
$custom: #42671e;
$custom-light: #7a925e;
$custom-dark: #000000;
JSON
{
  "hex": "#42671e",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 90.411,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.1099,
    "h": 132.4
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#42671E
secondary
#71459C
accent
#4ADE95
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42671E

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

Preview Lab → · Contrast checker → · Palette generator →

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