#7E6618#7E6618

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

Color values

HEX#7E6618
RGBrgb(126, 102, 24)
HSLhsl(46, 68%, 29%)
HSVhsv(46, 81%, 49%)
CMYKcmyk(0%, 19%, 81%, 50.6%)
CIE-LABlab(44.24, 1.36, 44.44)
CIE-LCHlch(44.24, 44.47, 88.25°)
OKLaboklab(51.99% -0.0011 0.0968)
OKLCHoklch(51.99% 0.097 90.7)
XYZxyz(13.5212, 14.0052, 2.8551)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6618 #18307E
analogous
#7E3318 #7E6618 #637E18
triadic
#7E6618 #187E66 #66187E
tetradic
#7E6618 #187E33 #18307E #7E1863
square
#7E6618 #187E33 #18307E #7E1863
split-complementary
#7E6618 #18637E #33187E
monochromatic
#1A1505 #4B3C0E #7E6618 #B19022 #D9B337

Accessibility & contrast

On white

5.53
#7E6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6618
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6618#FFFFFF#000000##FFFFFF
##7E66181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726508
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#895D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6618;
/* rgb */ color: rgb(126, 102, 24);
/* oklch */ color: oklch(52.0% 0.097 90.7);
Tailwind
colors: {
  custom: {
    50: '#a7915c',
    500: '#7e6618',
    950: '#000000',
  },
}
SCSS
$custom: #7e6618;
$custom-light: #a7915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6618",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 45.882,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.0968,
    "h": 90.7
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#7E6618
secondary
#3F5AB2
accent
#66EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6618

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

Preview Lab → · Contrast checker → · Palette generator →

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