#7D6E19#7D6E19

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

Color values

HEX#7D6E19
RGBrgb(125, 110, 25)
HSLhsl(51, 67%, 29%)
HSVhsv(51, 80%, 49%)
CMYKcmyk(0%, 12%, 80%, 51%)
CIE-LABlab(46.42, -3.69, 46.04)
CIE-LCHlch(46.42, 46.19, 94.58°)
OKLaboklab(53.69% -0.0153 0.1005)
OKLCHoklch(53.69% 0.102 98.6)
XYZxyz(14.2096, 15.5827, 3.1788)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E19 #19287D
analogous
#7D3C19 #7D6E19 #5A7D19
triadic
#7D6E19 #197D6E #6E197D
tetradic
#7D6E19 #197D3C #19287D #7D195A
square
#7D6E19 #197D3C #19287D #7D195A
split-complementary
#7D6E19 #195A7D #3C197D
monochromatic
#1A1605 #4A410F #7D6E19 #B09B23 #D7C039

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6E19#FFFFFF#000000##FFFFFF
##7D6E191.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)
#7A6B06
Deuteranopia (green-blind)
#7E701F
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e19;
/* rgb */ color: rgb(125, 110, 25);
/* oklch */ color: oklch(53.7% 0.102 98.6);
Tailwind
colors: {
  custom: {
    50: '#a6975d',
    500: '#7d6e19',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e19;
$custom-light: #a6975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e19",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 51,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.10164,
    "h": 98.6
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#7D6E19
secondary
#4051B1
accent
#58EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6E19

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

Preview Lab → · Contrast checker → · Palette generator →

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