#7D712B#7D712B

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

Color values

HEX#7D712B
RGBrgb(125, 113, 43)
HSLhsl(51, 49%, 33%)
HSVhsv(51, 66%, 49%)
CMYKcmyk(0%, 9.6%, 65.6%, 51%)
CIE-LABlab(47.42, -4.39, 39.39)
CIE-LCHlch(47.42, 39.64, 96.36°)
OKLaboklab(54.53% -0.0151 0.0898)
OKLCHoklch(54.53% 0.091 99.6)
XYZxyz(14.7992, 16.3453, 4.6605)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D712B #2B377D
analogous
#7D482B #7D712B #607D2B
triadic
#7D712B #2B7D71 #712B7D
tetradic
#7D712B #2B7D48 #2B377D #7D2B60
square
#7D712B #2B7D48 #2B377D #7D2B60
split-complementary
#7D712B #2B607D #482B7D
monochromatic
#221F0C #4F481B #7D712B #AB9A3B #C7B75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D712B#FFFFFF#000000##FFFFFF
##7D712B1.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)
#7C6E23
Deuteranopia (green-blind)
#7F722F
Tritanopia (blue-blind)
#876962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d712b;
/* rgb */ color: rgb(125, 113, 43);
/* oklch */ color: oklch(54.5% 0.091 99.6);
Tailwind
colors: {
  custom: {
    50: '#a59968',
    500: '#7d712b',
    950: '#000000',
  },
}
SCSS
$custom: #7d712b;
$custom-light: #a59968;
$custom-dark: #000000;
JSON
{
  "hex": "#7d712b",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 51.22,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54527,
    "c": 0.0911,
    "h": 99.6
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#7D712B
secondary
#5764AD
accent
#63D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7D712B

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

Preview Lab → · Contrast checker → · Palette generator →

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