#7E661E#7E661E

#7E661E is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.093 H 89.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E661E
RGBrgb(126, 102, 30)
HSLhsl(45, 62%, 31%)
HSVhsv(45, 76%, 49%)
CMYKcmyk(0%, 19%, 76.2%, 50.6%)
CIE-LABlab(44.28, 1.63, 42.08)
CIE-LCHlch(44.28, 42.11, 87.78°)
OKLaboklab(52.03% 0.0004 0.0931)
OKLCHoklch(52.03% 0.093 89.8)
XYZxyz(13.5907, 14.0330, 3.2208)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E661E #1E367E
analogous
#7E361E #7E661E #667E1E
triadic
#7E661E #1E7E66 #661E7E
tetradic
#7E661E #1E7E36 #1E367E #7E1E66
square
#7E661E #1E7E36 #1E367E #7E1E66
split-complementary
#7E661E #1E667E #361E7E
monochromatic
#1B1606 #4D3E12 #7E661E #AF8E2A #D2AF44

Accessibility & contrast

On white

5.52
#7E661E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7E661E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E661E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E661E#FFFFFF#000000##FFFFFF
##7E661E1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#895D58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e661e;
/* rgb */ color: rgb(126, 102, 30);
/* oklch */ color: oklch(52.0% 0.093 89.8);
Tailwind
colors: {
  custom: {
    50: '#a7915f',
    500: '#7e661e',
    950: '#000000',
  },
}
SCSS
$custom: #7e661e;
$custom-light: #a7915f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e661e",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 45,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.09307,
    "h": 89.8
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#7E661E
secondary
#4761B1
accent
#6CE543
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7E661E

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

Preview Lab → · Contrast checker → · Palette generator →

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