#40600F#40600F

#40600F is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.111 H 129.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#40600F
RGBrgb(64, 96, 15)
HSLhsl(84, 73%, 22%)
HSVhsv(84, 84%, 38%)
CMYKcmyk(33.3%, 0%, 84.4%, 62.4%)
CIE-LABlab(36.91, -24.83, 38.92)
CIE-LCHlch(36.91, 46.17, 122.53°)
OKLaboklab(44.78% -0.071 0.0858)
OKLCHoklch(44.78% 0.111 129.6)
XYZxyz(6.3834, 9.4900, 1.9473)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40600F #2F0F60
analogous
#60580F #40600F #17600F
triadic
#40600F #0F4060 #600F40
tetradic
#40600F #0F6058 #2F0F60 #600F17
square
#40600F #0F6058 #2F0F60 #600F17
split-complementary
#40600F #0F1760 #580F60
monochromatic
#121A04 #1D2B07 #40600F #639517 #87CA20

Accessibility & contrast

On white

7.25
#40600F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#40600F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40600F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40600F#FFFFFF#000000##FFFFFF
##40600F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40600f;
/* rgb */ color: rgb(64, 96, 15);
/* oklch */ color: oklch(44.8% 0.111 129.6);
Tailwind
colors: {
  custom: {
    50: '#788d55',
    500: '#40600f',
    950: '#000000',
  },
}
SCSS
$custom: #40600f;
$custom-light: #788d55;
$custom-dark: #000000;
JSON
{
  "hex": "#40600f",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 83.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.11131,
    "h": 129.6
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#40600F
secondary
#5B3299
accent
#38F081
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #40600F

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

Preview Lab → · Contrast checker → · Palette generator →

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