#7D6E1C#7D6E1C

#7D6E1C is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.100 H 98.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7D6E1C
RGBrgb(125, 110, 28)
HSLhsl(51, 63%, 30%)
HSVhsv(51, 78%, 49%)
CMYKcmyk(0%, 12%, 77.6%, 51%)
CIE-LABlab(46.44, -3.56, 44.93)
CIE-LCHlch(46.44, 45.07, 94.53°)
OKLaboklab(53.71% -0.0146 0.0988)
OKLCHoklch(53.71% 0.1 98.4)
XYZxyz(14.2437, 15.5964, 3.3585)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E1C #1C2B7D
analogous
#7D3E1C #7D6E1C #5B7D1C
triadic
#7D6E1C #1C7D6E #6E1C7D
tetradic
#7D6E1C #1C7D3E #1C2B7D #7D1C5B
square
#7D6E1C #1C7D3E #1C2B7D #7D1C5B
split-complementary
#7D6E1C #1C5B7D #3E1C7D
monochromatic
#191606 #4B4211 #7D6E1C #AF9A27 #D4BD3F

Accessibility & contrast

On white

5.10
#7D6E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7D6E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6E1C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6E1C#FFFFFF#000000##FFFFFF
##7D6E1C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e1c;
/* rgb */ color: rgb(125, 110, 28);
/* oklch */ color: oklch(53.7% 0.100 98.4);
Tailwind
colors: {
  custom: {
    50: '#a6975f',
    500: '#7d6e1c',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e1c;
$custom-light: #a6975f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e1c",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 50.722,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.09983,
    "h": 98.4
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#7D6E1C
secondary
#4455B1
accent
#5BE641
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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