#7D712A#7D712A

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

Color values

HEX#7D712A
RGBrgb(125, 113, 42)
HSLhsl(51, 50%, 33%)
HSVhsv(51, 66%, 49%)
CMYKcmyk(0%, 9.6%, 66.4%, 51%)
CIE-LABlab(47.41, -4.46, 39.86)
CIE-LCHlch(47.41, 40.11, 96.38°)
OKLaboklab(54.52% -0.0155 0.0907)
OKLCHoklch(54.52% 0.092 99.7)
XYZxyz(14.7811, 16.3380, 4.5650)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D712A #2A367D
analogous
#7D472A #7D712A #607D2A
triadic
#7D712A #2A7D71 #712A7D
tetradic
#7D712A #2A7D47 #2A367D #7D2A60
square
#7D712A #2A7D47 #2A367D #7D2A60
split-complementary
#7D712A #2A607D #472A7D
monochromatic
#211E0B #4F481B #7D712A #AB9A39 #C8B85A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D712A#FFFFFF#000000##FFFFFF
##7D712A1.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)
#7C6E22
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#876962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d712a;
/* rgb */ color: rgb(125, 113, 42);
/* oklch */ color: oklch(54.5% 0.092 99.7);
Tailwind
colors: {
  custom: {
    50: '#a59967',
    500: '#7d712a',
    950: '#000000',
  },
}
SCSS
$custom: #7d712a;
$custom-light: #a59967;
$custom-dark: #000000;
JSON
{
  "hex": "#7d712a",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 51.325,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.09196,
    "h": 99.7
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#7D712A
secondary
#5662AD
accent
#63D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D712A

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

Preview Lab → · Contrast checker → · Palette generator →

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