#7E6D19#7E6D19

#7E6D19 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.6% C 0.101 H 97.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E6D19
RGBrgb(126, 109, 25)
HSLhsl(50, 67%, 30%)
HSVhsv(50, 80%, 49%)
CMYKcmyk(0%, 13.5%, 80.2%, 50.6%)
CIE-LABlab(46.24, -2.65, 45.91)
CIE-LCHlch(46.24, 45.98, 93.30°)
OKLaboklab(53.57% -0.0124 0.1001)
OKLCHoklch(53.57% 0.101 97)
XYZxyz(14.2490, 15.4439, 3.1499)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6D19 #192A7E
analogous
#7E3B19 #7E6D19 #5D7E19
triadic
#7E6D19 #197E6D #6D197E
tetradic
#7E6D19 #197E3B #192A7E #7E195D
square
#7E6D19 #197E3B #192A7E #7E195D
split-complementary
#7E6D19 #195D7E #3B197E
monochromatic
#1A1605 #4B410F #7E6D19 #B19923 #D8BD3A

Accessibility & contrast

On white

5.14
#7E6D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7E6D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6D19
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6D19#FFFFFF#000000##FFFFFF
##7E6D191.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6d19;
/* rgb */ color: rgb(126, 109, 25);
/* oklch */ color: oklch(53.6% 0.101 97.0);
Tailwind
colors: {
  custom: {
    50: '#a7965d',
    500: '#7e6d19',
    950: '#000000',
  },
}
SCSS
$custom: #7e6d19;
$custom-light: #a7965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6d19",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 49.901,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53565,
    "c": 0.1009,
    "h": 97
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#7E6D19
secondary
#4154B2
accent
#5BEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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