#7E6E19#7E6E19

#7E6E19 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.102 H 97.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E6E19
RGBrgb(126, 110, 25)
HSLhsl(50, 67%, 30%)
HSVhsv(50, 80%, 49%)
CMYKcmyk(0%, 12.7%, 80.2%, 50.6%)
CIE-LABlab(46.52, -3.22, 46.17)
CIE-LCHlch(46.52, 46.28, 93.98°)
OKLaboklab(53.79% -0.014 0.1007)
OKLCHoklch(53.79% 0.102 97.9)
XYZxyz(14.3563, 15.6584, 3.1857)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E19 #19297E
analogous
#7E3C19 #7E6E19 #5C7E19
triadic
#7E6E19 #197E6E #6E197E
tetradic
#7E6E19 #197E3C #19297E #7E195C
square
#7E6E19 #197E3C #19297E #7E195C
split-complementary
#7E6E19 #195C7E #3C197E
monochromatic
#1A1605 #4B410F #7E6E19 #B19B23 #D8BF3A

Accessibility & contrast

On white

5.08
#7E6E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E19
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E19#FFFFFF#000000##FFFFFF
##7E6E191.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B06
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e19;
/* rgb */ color: rgb(126, 110, 25);
/* oklch */ color: oklch(53.8% 0.102 97.9);
Tailwind
colors: {
  custom: {
    50: '#a7975d',
    500: '#7e6e19',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e19;
$custom-light: #a7975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e19",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 50.495,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53792,
    "c": 0.10168,
    "h": 97.9
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#7E6E19
secondary
#4153B2
accent
#59EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6E19

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

Preview Lab → · Contrast checker → · Palette generator →

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