#7E6F19#7E6F19

#7E6F19 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.102 H 98.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E6F19
RGBrgb(126, 111, 25)
HSLhsl(51, 67%, 30%)
HSVhsv(51, 80%, 49%)
CMYKcmyk(0%, 11.9%, 80.2%, 50.6%)
CIE-LABlab(46.81, -3.79, 46.43)
CIE-LCHlch(46.81, 46.59, 94.66°)
OKLaboklab(54.02% -0.0156 0.1013)
OKLCHoklch(54.02% 0.102 98.8)
XYZxyz(14.4648, 15.8754, 3.2219)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F19 #19287E
analogous
#7E3D19 #7E6F19 #5B7E19
triadic
#7E6F19 #197E6F #6F197E
tetradic
#7E6F19 #197E3D #19287E #7E195B
square
#7E6F19 #197E3D #19287E #7E195B
split-complementary
#7E6F19 #195B7E #3D197E
monochromatic
#1A1605 #4B420F #7E6F19 #B19C23 #D8C03A

Accessibility & contrast

On white

5.03
#7E6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7E6F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F19
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F19#FFFFFF#000000##FFFFFF
##7E6F191.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#88665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f19;
/* rgb */ color: rgb(126, 111, 25);
/* oklch */ color: oklch(54.0% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#a7985e',
    500: '#7e6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f19;
$custom-light: #a7985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f19",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 51.089,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.10247,
    "h": 98.8
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#7E6F19
secondary
#4151B2
accent
#58EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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