#42671B#42671B

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

Color values

HEX#42671B
RGBrgb(66, 103, 27)
HSLhsl(89, 58%, 25%)
HSVhsv(89, 74%, 40%)
CMYKcmyk(35.9%, 0%, 73.8%, 59.6%)
CIE-LABlab(39.48, -26.63, 36.87)
CIE-LCHlch(39.48, 45.48, 125.84°)
OKLaboklab(46.93% -0.075 0.0834)
OKLCHoklch(46.93% 0.112 132)
XYZxyz(7.2948, 10.9376, 2.7635)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671B #401B67
analogous
#67661B #42671B #1C671B
triadic
#42671B #1B4267 #671B42
tetradic
#42671B #1B6766 #401B67 #671B1C
square
#42671B #1B6766 #401B67 #671B1C
split-complementary
#42671B #1B1C67 #661B67
monochromatic
#101806 #23370E #42671B #619728 #80C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42671B#FFFFFF#000000##FFFFFF
##42671B1.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)
#6C5F0F
Deuteranopia (green-blind)
#665C22
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #42671b;
/* rgb */ color: rgb(66, 103, 27);
/* oklch */ color: oklch(46.9% 0.112 132.0);
Tailwind
colors: {
  custom: {
    50: '#7a925c',
    500: '#42671b',
    950: '#000000',
  },
}
SCSS
$custom: #42671b;
$custom-light: #7a925c;
$custom-dark: #000000;
JSON
{
  "hex": "#42671b",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 89.211,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.1122,
    "h": 132
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#42671B
secondary
#6E429C
accent
#46E292
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42671B

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

Preview Lab → · Contrast checker → · Palette generator →

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