#7E6F2B#7E6F2B

#7E6F2B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.089 H 96.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7E6F2B
RGBrgb(126, 111, 43)
HSLhsl(49, 49%, 33%)
HSVhsv(49, 66%, 49%)
CMYKcmyk(0%, 11.9%, 65.9%, 50.6%)
CIE-LABlab(46.95, -2.78, 38.91)
CIE-LCHlch(46.95, 39.00, 94.09°)
OKLaboklab(54.17% -0.0106 0.0888)
OKLCHoklch(54.17% 0.089 96.8)
XYZxyz(14.7253, 15.9796, 4.5938)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F2B #2B3A7E
analogous
#7E462B #7E6F2B #637E2B
triadic
#7E6F2B #2B7E6F #6F2B7E
tetradic
#7E6F2B #2B7E46 #2B3A7E #7E2B63
square
#7E6F2B #2B7E46 #2B3A7E #7E2B63
split-complementary
#7E6F2B #2B637E #462B7E
monochromatic
#231F0C #50471B #7E6F2B #AC973B #C7B45C

Accessibility & contrast

On white

5.01
#7E6F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7E6F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F2B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F2B#FFFFFF#000000##FFFFFF
##7E6F2B1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C23
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#886760
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f2b;
/* rgb */ color: rgb(126, 111, 43);
/* oklch */ color: oklch(54.2% 0.089 96.8);
Tailwind
colors: {
  custom: {
    50: '#a69868',
    500: '#7e6f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f2b;
$custom-light: #a69868;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f2b",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 49.157,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54173,
    "c": 0.08939,
    "h": 96.8
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#7E6F2B
secondary
#5867AD
accent
#68D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E6F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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