#7E6F15#7E6F15

#7E6F15 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.105 H 99.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E6F15
RGBrgb(126, 111, 21)
HSLhsl(51, 71%, 29%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 11.9%, 83.3%, 50.6%)
CIE-LABlab(46.79, -3.94, 47.78)
CIE-LCHlch(46.79, 47.94, 94.72°)
OKLaboklab(54% -0.0164 0.1033)
OKLCHoklch(54% 0.105 99)
XYZxyz(14.4247, 15.8594, 3.0107)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F15 #15247E
analogous
#7E3B15 #7E6F15 #597E15
triadic
#7E6F15 #157E6F #6F157E
tetradic
#7E6F15 #157E3B #15247E #7E1559
square
#7E6F15 #157E3B #15247E #7E1559
split-complementary
#7E6F15 #15597E #3B157E
monochromatic
#1A1704 #4A410C #7E6F15 #B29D1E #DDC431

Accessibility & contrast

On white

5.03
#7E6F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7E6F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F15
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F15#FFFFFF#000000##FFFFFF
##7E6F151.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#89665E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f15;
/* rgb */ color: rgb(126, 111, 21);
/* oklch */ color: oklch(54.0% 0.105 99.0);
Tailwind
colors: {
  custom: {
    50: '#a7985c',
    500: '#7e6f15',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f15;
$custom-light: #a7985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f15",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 51.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.1046,
    "h": 99
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#7E6F15
secondary
#3C4DB3
accent
#53EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6F15

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

Preview Lab → · Contrast checker → · Palette generator →

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