#7D6B19#7D6B19

#7D6B19 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.099 H 96.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D6B19
RGBrgb(125, 107, 25)
HSLhsl(49, 67%, 29%)
HSVhsv(49, 80%, 49%)
CMYKcmyk(0%, 14.4%, 80%, 51%)
CIE-LABlab(45.56, -1.97, 45.25)
CIE-LCHlch(45.56, 45.29, 92.50°)
OKLaboklab(53.01% -0.0104 0.0988)
OKLCHoklch(53.01% 0.099 96)
XYZxyz(13.8914, 14.9463, 3.0728)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6B19 #192B7D
analogous
#7D3919 #7D6B19 #5D7D19
triadic
#7D6B19 #197D6B #6B197D
tetradic
#7D6B19 #197D39 #192B7D #7D195D
square
#7D6B19 #197D39 #192B7D #7D195D
split-complementary
#7D6B19 #195D7D #39197D
monochromatic
#1A1605 #4A3F0F #7D6B19 #B09723 #D7BB39

Accessibility & contrast

On white

5.26
#7D6B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D6B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6B19
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6B19#FFFFFF#000000##FFFFFF
##7D6B191.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#88625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d6b19;
/* rgb */ color: rgb(125, 107, 25);
/* oklch */ color: oklch(53.0% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#a6955d',
    500: '#7d6b19',
    950: '#000000',
  },
}
SCSS
$custom: #7d6b19;
$custom-light: #a6955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6b19",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 25
  },
  "hsl": {
    "h": 49.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53006,
    "c": 0.09933,
    "h": 96
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#7D6B19
secondary
#4055B1
accent
#5DEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6B19

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

Preview Lab → · Contrast checker → · Palette generator →

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