#7E6415#7E6415

#7E6415 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.097 H 89.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7E6415
RGBrgb(126, 100, 21)
HSLhsl(45, 71%, 29%)
HSVhsv(45, 83%, 49%)
CMYKcmyk(0%, 20.6%, 83.3%, 50.6%)
CIE-LABlab(43.66, 2.41, 45.01)
CIE-LCHlch(43.66, 45.08, 86.94°)
OKLaboklab(51.52% 0.0016 0.0973)
OKLCHoklch(51.52% 0.097 89.1)
XYZxyz(13.2975, 13.6050, 2.6350)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6415 #152F7E
analogous
#7E3015 #7E6415 #647E15
triadic
#7E6415 #157E64 #64157E
tetradic
#7E6415 #157E30 #152F7E #7E1564
square
#7E6415 #157E30 #152F7E #7E1564
split-complementary
#7E6415 #15647E #30157E
monochromatic
#1A1504 #4A3A0C #7E6415 #B28E1E #DDB231

Accessibility & contrast

On white

5.64
#7E6415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E6415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6415
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6415#FFFFFF#000000##FFFFFF
##7E64151.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716303
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#895A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e6415;
/* rgb */ color: rgb(126, 100, 21);
/* oklch */ color: oklch(51.5% 0.097 89.1);
Tailwind
colors: {
  custom: {
    50: '#a78f5a',
    500: '#7e6415',
    950: '#000000',
  },
}
SCSS
$custom: #7e6415;
$custom-light: #a78f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6415",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 21
  },
  "hsl": {
    "h": 45.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.09733,
    "h": 89.1
  },
  "luminance": 0.13604
}

Semantic roles & 50–950 ramp

primary
#7E6415
secondary
#3C59B3
accent
#66EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6415

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

Preview Lab → · Contrast checker → · Palette generator →

#7E6415 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva