#7E651A#7E651A

#7E651A is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.8% C 0.095 H 89.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7E651A
RGBrgb(126, 101, 26)
HSLhsl(45, 66%, 30%)
HSVhsv(45, 79%, 49%)
CMYKcmyk(0%, 19.8%, 79.4%, 50.6%)
CIE-LABlab(43.97, 2.03, 43.42)
CIE-LCHlch(43.97, 43.47, 87.33°)
OKLaboklab(51.78% 0.001 0.0951)
OKLCHoklch(51.78% 0.095 89.4)
XYZxyz(13.4451, 13.8184, 2.9361)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E651A #1A337E
analogous
#7E331A #7E651A #657E1A
triadic
#7E651A #1A7E65 #651A7E
tetradic
#7E651A #1A7E33 #1A337E #7E1A65
square
#7E651A #1A7E33 #1A337E #7E1A65
split-complementary
#7E651A #1A657E #331A7E
monochromatic
#191405 #4B3C10 #7E651A #B18E24 #D7B03C

Accessibility & contrast

On white

5.58
#7E651A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E651A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E651A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E651A#FFFFFF#000000##FFFFFF
##7E651A1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640C
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#895C56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e651a;
/* rgb */ color: rgb(126, 101, 26);
/* oklch */ color: oklch(51.8% 0.095 89.4);
Tailwind
colors: {
  custom: {
    50: '#a7905d',
    500: '#7e651a',
    950: '#000000',
  },
}
SCSS
$custom: #7e651a;
$custom-light: #a7905d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e651a",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 45,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.09507,
    "h": 89.4
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#7E651A
secondary
#425EB2
accent
#69E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E651A

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

Preview Lab → · Contrast checker → · Palette generator →

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