#7E6619#7E6619

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

Color values

HEX#7E6619
RGBrgb(126, 102, 25)
HSLhsl(46, 67%, 30%)
HSVhsv(46, 80%, 49%)
CMYKcmyk(0%, 19%, 80.2%, 50.6%)
CIE-LABlab(44.25, 1.40, 44.07)
CIE-LCHlch(44.25, 44.09, 88.18°)
OKLaboklab(51.99% -0.0009 0.0962)
OKLCHoklch(51.99% 0.096 90.5)
XYZxyz(13.5318, 14.0094, 2.9109)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6619 #19317E
analogous
#7E3419 #7E6619 #637E19
triadic
#7E6619 #197E66 #66197E
tetradic
#7E6619 #197E34 #19317E #7E1963
square
#7E6619 #197E34 #19317E #7E1963
split-complementary
#7E6619 #19637E #34197E
monochromatic
#1A1505 #4B3D0F #7E6619 #B18F23 #D8B23A

Accessibility & contrast

On white

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

On black

3.80
#7E6619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E6619#FFFFFF#000000##FFFFFF
##7E66191.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#895D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6619;
/* rgb */ color: rgb(126, 102, 25);
/* oklch */ color: oklch(52.0% 0.096 90.5);
Tailwind
colors: {
  custom: {
    50: '#a7915c',
    500: '#7e6619',
    950: '#000000',
  },
}
SCSS
$custom: #7e6619;
$custom-light: #a7915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6619",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 25
  },
  "hsl": {
    "h": 45.743,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.09622,
    "h": 90.5
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#7E6619
secondary
#415CB2
accent
#67EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6619

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

Preview Lab → · Contrast checker → · Palette generator →

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