#42681D#42681D

#42681D is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.2% C 0.112 H 132.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#42681D
RGBrgb(66, 104, 29)
HSLhsl(90, 56%, 26%)
HSVhsv(90, 72%, 41%)
CMYKcmyk(36.5%, 0%, 72.1%, 59.2%)
CIE-LABlab(39.83, -26.95, 36.37)
CIE-LCHlch(39.83, 45.27, 126.54°)
OKLaboklab(47.22% -0.0757 0.0827)
OKLCHoklch(47.22% 0.112 132.5)
XYZxyz(7.4188, 11.1473, 2.9229)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42681D #431D68
analogous
#67681D #42681D #1D681D
triadic
#42681D #1D4268 #681D42
tetradic
#42681D #1D6768 #431D68 #681D1D
square
#42681D #1D6768 #431D68 #681D1D
split-complementary
#42681D #1D1D68 #681D67
monochromatic
#0F1807 #243810 #42681D #60982A #7FC738

Accessibility & contrast

On white

6.50
#42681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#42681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42681D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42681D#FFFFFF#000000##FFFFFF
##42681D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6012
Deuteranopia (green-blind)
#675D23
Tritanopia (blue-blind)
#436459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #42681d;
/* rgb */ color: rgb(66, 104, 29);
/* oklch */ color: oklch(47.2% 0.112 132.5);
Tailwind
colors: {
  custom: {
    50: '#7a935e',
    500: '#42681d',
    950: '#000000',
  },
}
SCSS
$custom: #42681d;
$custom-light: #7a935e;
$custom-dark: #000000;
JSON
{
  "hex": "#42681d",
  "rgb": {
    "r": 66,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 90.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.11212,
    "h": 132.5
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#42681D
secondary
#71449D
accent
#48E095
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #42681D

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

Preview Lab → · Contrast checker → · Palette generator →

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