#42671C#42671C

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

Color values

HEX#42671C
RGBrgb(66, 103, 28)
HSLhsl(90, 57%, 26%)
HSVhsv(90, 73%, 40%)
CMYKcmyk(35.9%, 0%, 72.8%, 59.6%)
CIE-LABlab(39.48, -26.55, 36.45)
CIE-LCHlch(39.48, 45.09, 126.07°)
OKLaboklab(46.93% -0.0747 0.0827)
OKLCHoklch(46.93% 0.111 132.1)
XYZxyz(7.3065, 10.9423, 2.8255)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671C #411C67
analogous
#67661C #42671C #1C671C
triadic
#42671C #1C4267 #671C42
tetradic
#42671C #1C6766 #411C67 #671C1C
square
#42671C #1C6766 #411C67 #671C1C
split-complementary
#42671C #1C1C67 #661C67
monochromatic
#0F1807 #23370F #42671C #619729 #80C736

Accessibility & contrast

On white

6.59
#42671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42671C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42671C#FFFFFF#000000##FFFFFF
##42671C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42671c;
/* rgb */ color: rgb(66, 103, 28);
/* oklch */ color: oklch(46.9% 0.111 132.1);
Tailwind
colors: {
  custom: {
    50: '#7a925d',
    500: '#42671c',
    950: '#000000',
  },
}
SCSS
$custom: #42671c;
$custom-light: #7a925d;
$custom-dark: #000000;
JSON
{
  "hex": "#42671c",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 89.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46934,
    "c": 0.11145,
    "h": 132.1
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#42671C
secondary
#6F439C
accent
#47E193
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42671C

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

Preview Lab → · Contrast checker → · Palette generator →

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