#7D6A15#7D6A15

#7D6A15 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.101 H 95.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7D6A15
RGBrgb(125, 106, 21)
HSLhsl(49, 71%, 29%)
HSVhsv(49, 83%, 49%)
CMYKcmyk(0%, 15.2%, 83.2%, 51%)
CIE-LABlab(45.25, -1.56, 46.39)
CIE-LCHlch(45.25, 46.41, 91.92°)
OKLaboklab(52.76% -0.0096 0.1003)
OKLCHoklch(52.76% 0.101 95.5)
XYZxyz(13.7476, 14.7230, 2.8270)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6A15 #15287D
analogous
#7D3615 #7D6A15 #5C7D15
triadic
#7D6A15 #157D6A #6A157D
tetradic
#7D6A15 #157D36 #15287D #7D155C
square
#7D6A15 #157D36 #15287D #7D155C
split-complementary
#7D6A15 #155C7D #36157D
monochromatic
#1A1604 #493E0C #7D6A15 #B1961E #DCBD30

Accessibility & contrast

On white

5.32
#7D6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7D6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6A15
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6A15#FFFFFF#000000##FFFFFF
##7D6A151.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766801
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#88615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d6a15;
/* rgb */ color: rgb(125, 106, 21);
/* oklch */ color: oklch(52.8% 0.101 95.5);
Tailwind
colors: {
  custom: {
    50: '#a6945b',
    500: '#7d6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7d6a15;
$custom-light: #a6945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6a15",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 49.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.1008,
    "h": 95.5
  },
  "luminance": 0.14722
}

Semantic roles & 50–950 ramp

primary
#7D6A15
secondary
#3C51B2
accent
#5BEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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