#7D712D#7D712D

#7D712D is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.089 H 99.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D712D
RGBrgb(125, 113, 45)
HSLhsl(51, 47%, 33%)
HSVhsv(51, 64%, 49%)
CMYKcmyk(0%, 9.6%, 64%, 51%)
CIE-LABlab(47.44, -4.25, 38.45)
CIE-LCHlch(47.44, 38.68, 96.30°)
OKLaboklab(54.55% -0.0145 0.0881)
OKLCHoklch(54.55% 0.089 99.3)
XYZxyz(14.8368, 16.3603, 4.8585)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D712D #2D397D
analogous
#7D492D #7D712D #617D2D
triadic
#7D712D #2D7D71 #712D7D
tetradic
#7D712D #2D7D49 #2D397D #7D2D61
square
#7D712D #2D7D49 #2D397D #7D2D61
split-complementary
#7D712D #2D617D #492D7D
monochromatic
#23200D #50481D #7D712D #AA9A3D #C5B65F

Accessibility & contrast

On white

4.92
#7D712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7D712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D712D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D712D#FFFFFF#000000##FFFFFF
##7D712D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#7F7230
Tritanopia (blue-blind)
#866962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d712d;
/* rgb */ color: rgb(125, 113, 45);
/* oklch */ color: oklch(54.5% 0.089 99.3);
Tailwind
colors: {
  custom: {
    50: '#a59969',
    500: '#7d712d',
    950: '#000000',
  },
}
SCSS
$custom: #7d712d;
$custom-light: #a59969;
$custom-dark: #000000;
JSON
{
  "hex": "#7d712d",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 51,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.08931,
    "h": 99.3
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#7D712D
secondary
#5A66AC
accent
#65D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D712D

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

Preview Lab → · Contrast checker → · Palette generator →

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