#7D6A18#7D6A18

#7D6A18 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.099 H 95.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D6A18
RGBrgb(125, 106, 24)
HSLhsl(49, 68%, 29%)
HSVhsv(49, 81%, 49%)
CMYKcmyk(0%, 15.2%, 80.8%, 51%)
CIE-LABlab(45.27, -1.44, 45.35)
CIE-LCHlch(45.27, 45.37, 91.82°)
OKLaboklab(52.77% -0.009 0.0988)
OKLCHoklch(52.77% 0.099 95.2)
XYZxyz(13.7771, 14.7348, 2.9824)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6A18 #182B7D
analogous
#7D3818 #7D6A18 #5E7D18
triadic
#7D6A18 #187D6A #6A187D
tetradic
#7D6A18 #187D38 #182B7D #7D185E
square
#7D6A18 #187D38 #182B7D #7D185E
split-complementary
#7D6A18 #185E7D #38187D
monochromatic
#1A1605 #4A3E0E #7D6A18 #B09622 #D9BA37

Accessibility & contrast

On white

5.32
#7D6A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7D6A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6A18
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6A18#FFFFFF#000000##FFFFFF
##7D6A181.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#7B6E1D
Tritanopia (blue-blind)
#88615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6a18;
/* rgb */ color: rgb(125, 106, 24);
/* oklch */ color: oklch(52.8% 0.099 95.2);
Tailwind
colors: {
  custom: {
    50: '#a6945c',
    500: '#7d6a18',
    950: '#000000',
  },
}
SCSS
$custom: #7d6a18;
$custom-light: #a6945c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6a18",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 24
  },
  "hsl": {
    "h": 48.713,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.09919,
    "h": 95.2
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#7D6A18
secondary
#3F55B2
accent
#5EEB3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6A18

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

Preview Lab → · Contrast checker → · Palette generator →

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