#42671F#42671F

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

Color values

HEX#42671F
RGBrgb(66, 103, 31)
HSLhsl(91, 54%, 26%)
HSVhsv(91, 70%, 40%)
CMYKcmyk(35.9%, 0%, 69.9%, 59.6%)
CIE-LABlab(39.51, -26.30, 35.14)
CIE-LCHlch(39.51, 43.89, 126.81°)
OKLaboklab(46.96% -0.0738 0.0804)
OKLCHoklch(46.96% 0.109 132.5)
XYZxyz(7.3442, 10.9574, 3.0241)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42671F #441F67
analogous
#66671F #42671F #1F6720
triadic
#42671F #1F4267 #671F42
tetradic
#42671F #1F6667 #441F67 #67201F
square
#42671F #1F6667 #441F67 #67201F
split-complementary
#42671F #201F67 #671F66
monochromatic
#0F1807 #243811 #42671F #60962D #7EC43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42671F#FFFFFF#000000##FFFFFF
##42671F1.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)
#6B5F15
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#436358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #42671f;
/* rgb */ color: rgb(66, 103, 31);
/* oklch */ color: oklch(47.0% 0.109 132.5);
Tailwind
colors: {
  custom: {
    50: '#79925f',
    500: '#42671f',
    950: '#000000',
  },
}
SCSS
$custom: #42671f;
$custom-light: #79925f;
$custom-dark: #000000;
JSON
{
  "hex": "#42671f",
  "rgb": {
    "r": 66,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 90.833,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.10909,
    "h": 132.5
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#42671F
secondary
#72469B
accent
#4BDD96
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #42671F

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

Preview Lab → · Contrast checker → · Palette generator →

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