#42600F#42600F

#42600F is a dark, moderate yellow-green. Relative luminance 0.096; OKLCH L 44.9% C 0.110 H 128.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#42600F
RGBrgb(66, 96, 15)
HSLhsl(82, 73%, 22%)
HSVhsv(82, 84%, 38%)
CMYKcmyk(31.3%, 0%, 84.4%, 62.4%)
CIE-LABlab(37.04, -23.97, 39.09)
CIE-LCHlch(37.04, 45.85, 121.52°)
OKLaboklab(44.91% -0.0688 0.086)
OKLCHoklch(44.91% 0.11 128.6)
XYZxyz(6.5159, 9.5583, 1.9535)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42600F #2D0F60
analogous
#60560F #42600F #1A600F
triadic
#42600F #0F4260 #600F42
tetradic
#42600F #0F6056 #2D0F60 #600F1A
square
#42600F #0F6056 #2D0F60 #600F1A
split-complementary
#42600F #0F1A60 #560F60
monochromatic
#121A04 #1E2B07 #42600F #669517 #8BCA20

Accessibility & contrast

On white

7.21
#42600F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#42600F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42600F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42600F#FFFFFF#000000##FFFFFF
##42600F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#445B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42600f;
/* rgb */ color: rgb(66, 96, 15);
/* oklch */ color: oklch(44.9% 0.110 128.6);
Tailwind
colors: {
  custom: {
    50: '#7a8d55',
    500: '#42600f',
    950: '#000000',
  },
}
SCSS
$custom: #42600f;
$custom-light: #7a8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#42600f",
  "rgb": {
    "r": 66,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 82.222,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44914,
    "c": 0.11016,
    "h": 128.6
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#42600F
secondary
#583299
accent
#38F07C
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #42600F

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

Preview Lab → · Contrast checker → · Palette generator →

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