#7C712A#7C712A

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

Color values

HEX#7C712A
RGBrgb(124, 113, 42)
HSLhsl(52, 49%, 33%)
HSVhsv(52, 66%, 49%)
CMYKcmyk(0%, 8.9%, 66.1%, 51.4%)
CIE-LABlab(47.32, -4.92, 39.72)
CIE-LCHlch(47.32, 40.03, 97.07°)
OKLaboklab(54.42% -0.0167 0.0904)
OKLCHoklch(54.42% 0.092 100.5)
XYZxyz(14.6358, 16.2631, 4.5582)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C712A #2A357C
analogous
#7C482A #7C712A #5E7C2A
triadic
#7C712A #2A7C71 #712A7C
tetradic
#7C712A #2A7C48 #2A357C #7C2A5E
square
#7C712A #2A7C48 #2A357C #7C2A5E
split-complementary
#7C712A #2A5E7C #482A7C
monochromatic
#211E0B #4E471B #7C712A #AA9B39 #C7B859

Accessibility & contrast

On white

4.94
#7C712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7C712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C712A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C712A#FFFFFF#000000##FFFFFF
##7C712A1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c712a;
/* rgb */ color: rgb(124, 113, 42);
/* oklch */ color: oklch(54.4% 0.092 100.5);
Tailwind
colors: {
  custom: {
    50: '#a49967',
    500: '#7c712a',
    950: '#000000',
  },
}
SCSS
$custom: #7c712a;
$custom-light: #a49967;
$custom-dark: #000000;
JSON
{
  "hex": "#7c712a",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 51.951,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54416,
    "c": 0.09194,
    "h": 100.5
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#7C712A
secondary
#5561AD
accent
#61D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7C712A

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

Preview Lab → · Contrast checker → · Palette generator →

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