#42601F#42601F

#42601F is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.0% C 0.099 H 130.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#42601F
RGBrgb(66, 96, 31)
HSLhsl(88, 51%, 25%)
HSVhsv(88, 68%, 38%)
CMYKcmyk(31.3%, 0%, 67.7%, 62.4%)
CIE-LABlab(37.16, -22.82, 32.60)
CIE-LCHlch(37.16, 39.79, 124.98°)
OKLaboklab(45.05% -0.0642 0.075)
OKLCHoklch(45.05% 0.099 130.6)
XYZxyz(6.6769, 9.6227, 2.8016)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42601F #3D1F60
analogous
#605D1F #42601F #22601F
triadic
#42601F #1F4260 #601F42
tetradic
#42601F #1F605D #3D1F60 #601F22
square
#42601F #1F605D #3D1F60 #601F22
split-complementary
#42601F #1F2260 #5D1F60
monochromatic
#101707 #223210 #42601F #628E2E #82BD3D

Accessibility & contrast

On white

7.18
#42601F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#42601F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42601F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42601F#FFFFFF#000000##FFFFFF
##42601F1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645917
Deuteranopia (green-blind)
#605724
Tritanopia (blue-blind)
#445C52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42601f;
/* rgb */ color: rgb(66, 96, 31);
/* oklch */ color: oklch(45.0% 0.099 130.6);
Tailwind
colors: {
  custom: {
    50: '#798d5e',
    500: '#42601f',
    950: '#000000',
  },
}
SCSS
$custom: #42601f;
$custom-light: #798d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#42601f",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 31
  },
  "hsl": {
    "h": 87.692,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.09877,
    "h": 130.6
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#42601F
secondary
#6A4695
accent
#4DDB8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #42601F

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

Preview Lab → · Contrast checker → · Palette generator →

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