#42671D#42671D

#42671D is a mid, moderate yellow-green. Relative luminance 0.109; OKLCH L 46.9% C 0.111 H 132.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42671D
RGBrgb(66, 103, 29)
HSLhsl(90, 56%, 26%)
HSVhsv(90, 72%, 40%)
CMYKcmyk(35.9%, 0%, 71.8%, 59.6%)
CIE-LABlab(39.49, -26.47, 36.02)
CIE-LCHlch(39.49, 44.70, 126.31°)
OKLaboklab(46.94% -0.0744 0.0819)
OKLCHoklch(46.94% 0.111 132.2)
XYZxyz(7.3187, 10.9472, 2.8896)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671D #421D67
analogous
#67671D #42671D #1D671D
triadic
#42671D #1D4267 #671D42
tetradic
#42671D #1D6767 #421D67 #671D1D
square
#42671D #1D6767 #421D67 #671D1D
split-complementary
#42671D #1D1D67 #671D67
monochromatic
#0F1807 #233710 #42671D #61972A #7FC738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42671D#FFFFFF#000000##FFFFFF
##42671D1.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)
#6C5F12
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #42671d;
/* rgb */ color: rgb(66, 103, 29);
/* oklch */ color: oklch(46.9% 0.111 132.2);
Tailwind
colors: {
  custom: {
    50: '#7a925e',
    500: '#42671d',
    950: '#000000',
  },
}
SCSS
$custom: #42671d;
$custom-light: #7a925e;
$custom-dark: #000000;
JSON
{
  "hex": "#42671d",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.11068,
    "h": 132.2
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#42671D
secondary
#70449C
accent
#48DF94
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42671D

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

Preview Lab → · Contrast checker → · Palette generator →

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