#7D712E#7D712E

#7D712E is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.088 H 99.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7D712E
RGBrgb(125, 113, 46)
HSLhsl(51, 46%, 34%)
HSVhsv(51, 63%, 49%)
CMYKcmyk(0%, 9.6%, 63.2%, 51%)
CIE-LABlab(47.45, -4.17, 37.97)
CIE-LCHlch(47.45, 38.20, 96.27°)
OKLaboklab(54.56% -0.0141 0.0873)
OKLCHoklch(54.56% 0.088 99.2)
XYZxyz(14.8563, 16.3681, 4.9611)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D712E #2E3A7D
analogous
#7D492E #7D712E #617D2E
triadic
#7D712E #2E7D71 #712E7D
tetradic
#7D712E #2E7D49 #2E3A7D #7D2E61
square
#7D712E #2E7D49 #2E3A7D #7D2E61
split-complementary
#7D712E #2E617D #492E7D
monochromatic
#24200D #50491E #7D712E #AA993E #C5B661

Accessibility & contrast

On white

4.91
#7D712E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D712E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D712E#FFFFFF#000000##FFFFFF
##7D712E1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d712e;
/* rgb */ color: rgb(125, 113, 46);
/* oklch */ color: oklch(54.6% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#a5996a',
    500: '#7d712e',
    950: '#000000',
  },
}
SCSS
$custom: #7d712e;
$custom-light: #a5996a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d712e",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 50.886,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5456,
    "c": 0.0884,
    "h": 99.2
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#7D712E
secondary
#5B68AB
accent
#66D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D712E

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

Preview Lab → · Contrast checker → · Palette generator →

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