#7C712D#7C712D

#7C712D is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.089 H 100.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7C712D
RGBrgb(124, 113, 45)
HSLhsl(52, 47%, 33%)
HSVhsv(52, 64%, 49%)
CMYKcmyk(0%, 8.9%, 63.7%, 51.4%)
CIE-LABlab(47.35, -4.71, 38.31)
CIE-LCHlch(47.35, 38.60, 97.01°)
OKLaboklab(54.45% -0.0157 0.0879)
OKLCHoklch(54.45% 0.089 100.2)
XYZxyz(14.6915, 16.2854, 4.8516)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C712D #2D387C
analogous
#7C492D #7C712D #5F7C2D
triadic
#7C712D #2D7C71 #712D7C
tetradic
#7C712D #2D7C49 #2D387C #7C2D5F
square
#7C712D #2D7C49 #2D387C #7C2D5F
split-complementary
#7C712D #2D5F7C #492D7C
monochromatic
#221F0C #4F481D #7C712D #A99A3D #C5B75F

Accessibility & contrast

On white

4.93
#7C712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7C712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C712D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C712D#FFFFFF#000000##FFFFFF
##7C712D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E25
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#856962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c712d;
/* rgb */ color: rgb(124, 113, 45);
/* oklch */ color: oklch(54.4% 0.089 100.2);
Tailwind
colors: {
  custom: {
    50: '#a49969',
    500: '#7c712d',
    950: '#000000',
  },
}
SCSS
$custom: #7c712d;
$custom-light: #a49969;
$custom-dark: #000000;
JSON
{
  "hex": "#7c712d",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 51.646,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.08927,
    "h": 100.2
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#7C712D
secondary
#5A65AB
accent
#64D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C712D

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

Preview Lab → · Contrast checker → · Palette generator →

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