#7C712F#7C712F

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

Color values

HEX#7C712F
RGBrgb(124, 113, 47)
HSLhsl(51, 45%, 34%)
HSVhsv(51, 62%, 49%)
CMYKcmyk(0%, 8.9%, 62.1%, 51.4%)
CIE-LABlab(47.37, -4.56, 37.35)
CIE-LCHlch(47.37, 37.63, 96.96°)
OKLaboklab(54.47% -0.0151 0.0861)
OKLCHoklch(54.47% 0.087 99.9)
XYZxyz(14.7310, 16.3012, 5.0593)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C712F #2F3A7C
analogous
#7C4A2F #7C712F #607C2F
triadic
#7C712F #2F7C71 #712F7C
tetradic
#7C712F #2F7C4A #2F3A7C #7C2F60
square
#7C712F #2F7C4A #2F3A7C #7C2F60
split-complementary
#7C712F #2F607C #4A2F7C
monochromatic
#23200D #50491E #7C712F #A89940 #C3B662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C712F#FFFFFF#000000##FFFFFF
##7C712F1.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)
#7B6E28
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#856963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c712f;
/* rgb */ color: rgb(124, 113, 47);
/* oklch */ color: oklch(54.5% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#a4996a',
    500: '#7c712f',
    950: '#000000',
  },
}
SCSS
$custom: #7c712f;
$custom-light: #a4996a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c712f",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 51.429,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.08742,
    "h": 99.9
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#7C712F
secondary
#5C68AA
accent
#66D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A

Preview Lab

Preview with #7C712F

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

Preview Lab → · Contrast checker → · Palette generator →

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