#42671A#42671A

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

Color values

HEX#42671A
RGBrgb(66, 103, 26)
HSLhsl(89, 60%, 25%)
HSVhsv(89, 75%, 40%)
CMYKcmyk(35.9%, 0%, 74.8%, 59.6%)
CIE-LABlab(39.47, -26.71, 37.29)
CIE-LCHlch(39.47, 45.87, 125.62°)
OKLaboklab(46.92% -0.0753 0.0841)
OKLCHoklch(46.92% 0.113 131.8)
XYZxyz(7.2834, 10.9331, 2.7036)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671A #3F1A67
analogous
#67651A #42671A #1C671A
triadic
#42671A #1A4267 #671A42
tetradic
#42671A #1A6765 #3F1A67 #671A1C
square
#42671A #1A6765 #3F1A67 #671A1C
split-complementary
#42671A #1A1C67 #651A67
monochromatic
#101806 #23360E #42671A #619826 #81C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42671A#FFFFFF#000000##FFFFFF
##42671A1.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)
#6C5F0D
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #42671a;
/* rgb */ color: rgb(66, 103, 26);
/* oklch */ color: oklch(46.9% 0.113 131.8);
Tailwind
colors: {
  custom: {
    50: '#7a925c',
    500: '#42671a',
    950: '#000000',
  },
}
SCSS
$custom: #42671a;
$custom-light: #7a925c;
$custom-dark: #000000;
JSON
{
  "hex": "#42671a",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 88.831,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.11292,
    "h": 131.8
  },
  "luminance": 0.10933
}

Semantic roles & 50–950 ramp

primary
#42671A
secondary
#6D409D
accent
#45E391
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42671A

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

Preview Lab → · Contrast checker → · Palette generator →

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