#7D6618#7D6618

#7D6618 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.9% C 0.097 H 91.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7D6618
RGBrgb(125, 102, 24)
HSLhsl(46, 68%, 29%)
HSVhsv(46, 81%, 49%)
CMYKcmyk(0%, 18.4%, 80.8%, 51%)
CIE-LABlab(44.13, 0.88, 44.31)
CIE-LCHlch(44.13, 44.31, 88.87°)
OKLaboklab(51.88% -0.0024 0.0965)
OKLCHoklch(51.88% 0.097 91.4)
XYZxyz(13.3745, 13.9295, 2.8482)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6618 #182F7D
analogous
#7D3418 #7D6618 #627D18
triadic
#7D6618 #187D66 #66187D
tetradic
#7D6618 #187D34 #182F7D #7D1862
square
#7D6618 #187D34 #182F7D #7D1862
split-complementary
#7D6618 #18627D #34187D
monochromatic
#1A1505 #4A3C0E #7D6618 #B09022 #D9B437

Accessibility & contrast

On white

5.55
#7D6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7D6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6618
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6618#FFFFFF#000000##FFFFFF
##7D66181.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6618;
/* rgb */ color: rgb(125, 102, 24);
/* oklch */ color: oklch(51.9% 0.097 91.4);
Tailwind
colors: {
  custom: {
    50: '#a6915c',
    500: '#7d6618',
    950: '#000000',
  },
}
SCSS
$custom: #7d6618;
$custom-light: #a6915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6618",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 46.337,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.09657,
    "h": 91.4
  },
  "luminance": 0.13929
}

Semantic roles & 50–950 ramp

primary
#7D6618
secondary
#3F59B2
accent
#65EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D6618

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

Preview Lab → · Contrast checker → · Palette generator →

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