#7D6E1B#7D6E1B

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

Color values

HEX#7D6E1B
RGBrgb(125, 110, 27)
HSLhsl(51, 64%, 30%)
HSVhsv(51, 78%, 49%)
CMYKcmyk(0%, 12%, 78.4%, 51%)
CIE-LABlab(46.43, -3.60, 45.31)
CIE-LCHlch(46.43, 45.45, 94.55°)
OKLaboklab(53.7% -0.0148 0.0993)
OKLCHoklch(53.7% 0.1 98.5)
XYZxyz(14.2319, 15.5917, 3.2966)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E1B #1B2A7D
analogous
#7D3D1B #7D6E1B #5B7D1B
triadic
#7D6E1B #1B7D6E #6E1B7D
tetradic
#7D6E1B #1B7D3D #1B2A7D #7D1B5B
square
#7D6E1B #1B7D3D #1B2A7D #7D1B5B
split-complementary
#7D6E1B #1B5B7D #3D1B7D
monochromatic
#191605 #4B4210 #7D6E1B #AF9A26 #D5BE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6E1B#FFFFFF#000000##FFFFFF
##7D6E1B1.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)
#7A6B0B
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e1b;
/* rgb */ color: rgb(125, 110, 27);
/* oklch */ color: oklch(53.7% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#a6975e',
    500: '#7d6e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e1b;
$custom-light: #a6975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e1b",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 50.816,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.10045,
    "h": 98.5
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#7D6E1B
secondary
#4354B1
accent
#5AE740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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