#403707#403707

#403707 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.7% C 0.064 H 97.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#403707
RGBrgb(64, 55, 7)
HSLhsl(51, 80%, 14%)
HSVhsv(51, 89%, 25%)
CMYKcmyk(0%, 14.1%, 89.1%, 74.9%)
CIE-LABlab(23.13, -2.01, 29.06)
CIE-LCHlch(23.13, 29.13, 93.95°)
OKLaboklab(33.66% -0.0089 0.0636)
OKLCHoklch(33.66% 0.064 97.9)
XYZxyz(3.5191, 3.8379, 0.7564)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403707 #071040
analogous
#401B07 #403707 #2D4007
triadic
#403707 #074037 #370740
tetradic
#403707 #07401B #071040 #40072D
square
#403707 #07401B #071040 #40072D
split-complementary
#403707 #072D40 #1B0740
monochromatic
#1C1803 #1C1803 #403707 #77660D #AE9613

Accessibility & contrast

On white

11.88
#403707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403707
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403707#FFFFFF#000000##FFFFFF
##4037071.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3501
Deuteranopia (green-blind)
#40380A
Tritanopia (blue-blind)
#46322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403707;
/* rgb */ color: rgb(64, 55, 7);
/* oklch */ color: oklch(33.7% 0.064 97.9);
Tailwind
colors: {
  custom: {
    50: '#776d4b',
    500: '#403707',
    950: '#000000',
  },
}
SCSS
$custom: #403707;
$custom-light: #776d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403707",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 50.526,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33664,
    "c": 0.06425,
    "h": 97.9
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#403707
secondary
#24327F
accent
#50F731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403707

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

Preview Lab → · Contrast checker → · Palette generator →

#403707 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva