#7D6E16#7D6E16

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

Color values

HEX#7D6E16
RGBrgb(125, 110, 22)
HSLhsl(51, 70%, 29%)
HSVhsv(51, 82%, 49%)
CMYKcmyk(0%, 12%, 82.4%, 51%)
CIE-LABlab(46.41, -3.81, 47.07)
CIE-LCHlch(46.41, 47.23, 94.63°)
OKLaboklab(53.67% -0.0159 0.1021)
OKLCHoklch(53.67% 0.103 98.9)
XYZxyz(14.1789, 15.5705, 3.0175)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6E16 #16257D
analogous
#7D3B16 #7D6E16 #597D16
triadic
#7D6E16 #167D6E #6E167D
tetradic
#7D6E16 #167D3B #16257D #7D1659
square
#7D6E16 #167D3B #16257D #7D1659
split-complementary
#7D6E16 #16597D #3B167D
monochromatic
#1A1705 #49400D #7D6E16 #B19C1F #DBC232

Accessibility & contrast

On white

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

On black

4.11
#7D6E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D6E16#FFFFFF#000000##FFFFFF
##7D6E161.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E701D
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7d6e16;
/* rgb */ color: rgb(125, 110, 22);
/* oklch */ color: oklch(53.7% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#a6975c',
    500: '#7d6e16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6e16;
$custom-light: #a6975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6e16",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 51.262,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.10328,
    "h": 98.9
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#7D6E16
secondary
#3D4EB2
accent
#55ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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