#7D6F16#7D6F16

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

Color values

HEX#7D6F16
RGBrgb(125, 111, 22)
HSLhsl(52, 70%, 29%)
HSVhsv(52, 82%, 49%)
CMYKcmyk(0%, 11.2%, 82.4%, 51%)
CIE-LABlab(46.69, -4.38, 47.33)
CIE-LCHlch(46.69, 47.53, 95.29°)
OKLaboklab(53.9% -0.0175 0.1026)
OKLCHoklch(53.9% 0.104 99.7)
XYZxyz(14.2874, 15.7875, 3.0536)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6F16 #16247D
analogous
#7D3C16 #7D6F16 #587D16
triadic
#7D6F16 #167D6F #6F167D
tetradic
#7D6F16 #167D3C #16247D #7D1658
square
#7D6F16 #167D3C #16247D #7D1658
split-complementary
#7D6F16 #16587D #3C167D
monochromatic
#1A1705 #49410D #7D6F16 #B19D1F #DBC432

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6F16#FFFFFF#000000##FFFFFF
##7D6F161.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)
#7B6C00
Deuteranopia (green-blind)
#7E711D
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d6f16;
/* rgb */ color: rgb(125, 111, 22);
/* oklch */ color: oklch(53.9% 0.104 99.7);
Tailwind
colors: {
  custom: {
    50: '#a6985c',
    500: '#7d6f16',
    950: '#000000',
  },
}
SCSS
$custom: #7d6f16;
$custom-light: #a6985c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6f16",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 22
  },
  "hsl": {
    "h": 51.845,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53899,
    "c": 0.10409,
    "h": 99.7
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#7D6F16
secondary
#3D4DB2
accent
#53ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7D6F16

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

Preview Lab → · Contrast checker → · Palette generator →

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