#7D6D19#7D6D19

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

Color values

HEX#7D6D19
RGBrgb(125, 109, 25)
HSLhsl(50, 67%, 29%)
HSVhsv(50, 80%, 49%)
CMYKcmyk(0%, 12.8%, 80%, 51%)
CIE-LABlab(46.13, -3.12, 45.78)
CIE-LCHlch(46.13, 45.88, 93.90°)
OKLaboklab(53.46% -0.0137 0.0999)
OKLCHoklch(53.46% 0.101 97.8)
XYZxyz(14.1023, 15.3682, 3.1431)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6D19 #19297D
analogous
#7D3B19 #7D6D19 #5B7D19
triadic
#7D6D19 #197D6D #6D197D
tetradic
#7D6D19 #197D3B #19297D #7D195B
square
#7D6D19 #197D3B #19297D #7D195B
split-complementary
#7D6D19 #195B7D #3B197D
monochromatic
#1A1605 #4A410F #7D6D19 #B09923 #D7BE39

Accessibility & contrast

On white

5.16
#7D6D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7D6D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6D19
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6D19#FFFFFF#000000##FFFFFF
##7D6D191.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d6d19;
/* rgb */ color: rgb(125, 109, 25);
/* oklch */ color: oklch(53.5% 0.101 97.8);
Tailwind
colors: {
  custom: {
    50: '#a6965d',
    500: '#7d6d19',
    950: '#000000',
  },
}
SCSS
$custom: #7d6d19;
$custom-light: #a6965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6d19",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 50.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.10084,
    "h": 97.8
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#7D6D19
secondary
#4053B1
accent
#5AEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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