#7D6F1B#7D6F1B

#7D6F1B is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.101 H 99.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7D6F1B
RGBrgb(125, 111, 27)
HSLhsl(51, 64%, 30%)
HSVhsv(51, 78%, 49%)
CMYKcmyk(0%, 11.2%, 78.4%, 51%)
CIE-LABlab(46.72, -4.17, 45.58)
CIE-LCHlch(46.72, 45.77, 95.23°)
OKLaboklab(53.93% -0.0164 0.0999)
OKLCHoklch(53.93% 0.101 99.3)
XYZxyz(14.3404, 15.8087, 3.3327)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F1B #1B297D
analogous
#7D3E1B #7D6F1B #5A7D1B
triadic
#7D6F1B #1B7D6F #6F1B7D
tetradic
#7D6F1B #1B7D3E #1B297D #7D1B5A
square
#7D6F1B #1B7D3E #1B297D #7D1B5A
split-complementary
#7D6F1B #1B5A7D #3E1B7D
monochromatic
#191605 #4B4210 #7D6F1B #AF9C26 #D5BF3D

Accessibility & contrast

On white

5.05
#7D6F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7D6F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6F1B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6F1B#FFFFFF#000000##FFFFFF
##7D6F1B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0A
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f1b;
/* rgb */ color: rgb(125, 111, 27);
/* oklch */ color: oklch(53.9% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#a6985f',
    500: '#7d6f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f1b;
$custom-light: #a6985f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f1b",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 51.429,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.10126,
    "h": 99.3
  },
  "luminance": 0.15808
}

Semantic roles & 50–950 ramp

primary
#7D6F1B
secondary
#4353B1
accent
#58E740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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