#7C712C#7C712C

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

Color values

HEX#7C712C
RGBrgb(124, 113, 44)
HSLhsl(52, 48%, 33%)
HSVhsv(52, 65%, 49%)
CMYKcmyk(0%, 8.9%, 64.5%, 51.4%)
CIE-LABlab(47.34, -4.78, 38.79)
CIE-LCHlch(47.34, 39.08, 97.03°)
OKLaboklab(54.44% -0.0161 0.0887)
OKLCHoklch(54.44% 0.09 100.3)
XYZxyz(14.6725, 16.2778, 4.7514)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C712C #2C377C
analogous
#7C492C #7C712C #5F7C2C
triadic
#7C712C #2C7C71 #712C7C
tetradic
#7C712C #2C7C49 #2C377C #7C2C5F
square
#7C712C #2C7C49 #2C377C #7C2C5F
split-complementary
#7C712C #2C5F7C #492C7C
monochromatic
#221F0C #4F481C #7C712C #A99A3C #C5B75D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C712C#FFFFFF#000000##FFFFFF
##7C712C1.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)
#7B6E24
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#856962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c712c;
/* rgb */ color: rgb(124, 113, 44);
/* oklch */ color: oklch(54.4% 0.090 100.3);
Tailwind
colors: {
  custom: {
    50: '#a49968',
    500: '#7c712c',
    950: '#000000',
  },
}
SCSS
$custom: #7c712c;
$custom-light: #a49968;
$custom-dark: #000000;
JSON
{
  "hex": "#7c712c",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 44
  },
  "hsl": {
    "h": 51.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54438,
    "c": 0.09018,
    "h": 100.3
  },
  "luminance": 0.16277
}

Semantic roles & 50–950 ramp

primary
#7C712C
secondary
#5864AC
accent
#63D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A

Preview Lab

Preview with #7C712C

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

Preview Lab → · Contrast checker → · Palette generator →

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