#7E6B15#7E6B15

#7E6B15 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.1% C 0.102 H 95.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E6B15
RGBrgb(126, 107, 21)
HSLhsl(49, 71%, 29%)
HSVhsv(49, 83%, 49%)
CMYKcmyk(0%, 15.1%, 83.3%, 50.6%)
CIE-LABlab(45.64, -1.65, 46.77)
CIE-LCHlch(45.64, 46.80, 92.03°)
OKLaboklab(53.09% -0.01 0.1011)
OKLCHoklch(53.09% 0.102 95.6)
XYZxyz(13.9980, 15.0060, 2.8685)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B15 #15287E
analogous
#7E3715 #7E6B15 #5D7E15
triadic
#7E6B15 #157E6B #6B157E
tetradic
#7E6B15 #157E37 #15287E #7E155D
square
#7E6B15 #157E37 #15287E #7E155D
split-complementary
#7E6B15 #155D7E #37157E
monochromatic
#1A1604 #4A3E0C #7E6B15 #B2981E #DDBE31

Accessibility & contrast

On white

5.25
#7E6B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7E6B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6B15
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6B15#FFFFFF#000000##FFFFFF
##7E6B151.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#89625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b15;
/* rgb */ color: rgb(126, 107, 21);
/* oklch */ color: oklch(53.1% 0.102 95.6);
Tailwind
colors: {
  custom: {
    50: '#a7955b',
    500: '#7e6b15',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b15;
$custom-light: #a7955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b15",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 49.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.10161,
    "h": 95.6
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#7E6B15
secondary
#3C51B3
accent
#5AEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B15

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

Preview Lab → · Contrast checker → · Palette generator →

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