#7D6F19#7D6F19

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

Color values

HEX#7D6F19
RGBrgb(125, 111, 25)
HSLhsl(52, 67%, 29%)
HSVhsv(52, 80%, 49%)
CMYKcmyk(0%, 11.2%, 80%, 51%)
CIE-LABlab(46.71, -4.26, 46.31)
CIE-LCHlch(46.71, 46.50, 95.26°)
OKLaboklab(53.92% -0.0169 0.1011)
OKLCHoklch(53.92% 0.102 99.5)
XYZxyz(14.3181, 15.7998, 3.2150)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F19 #19277D
analogous
#7D3D19 #7D6F19 #597D19
triadic
#7D6F19 #197D6F #6F197D
tetradic
#7D6F19 #197D3D #19277D #7D1959
square
#7D6F19 #197D3D #19277D #7D1959
split-complementary
#7D6F19 #19597D #3D197D
monochromatic
#1A1705 #4A420F #7D6F19 #B09C23 #D7C139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6F19#FFFFFF#000000##FFFFFF
##7D6F191.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)
#7B6C06
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f19;
/* rgb */ color: rgb(125, 111, 25);
/* oklch */ color: oklch(53.9% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#a6985e',
    500: '#7d6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f19;
$custom-light: #a6985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f19",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 51.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.10245,
    "h": 99.5
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#7D6F19
secondary
#4050B1
accent
#56EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7D6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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