#7C703F#7C703F

#7C703F is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.5% C 0.070 H 96.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7C703F
RGBrgb(124, 112, 63)
HSLhsl(48, 33%, 37%)
HSVhsv(48, 49%, 49%)
CMYKcmyk(0%, 9.7%, 49.2%, 51.4%)
CIE-LABlab(47.28, -2.53, 28.81)
CIE-LCHlch(47.28, 28.92, 95.01°)
OKLaboklab(54.47% -0.0073 0.0692)
OKLCHoklch(54.47% 0.07 96)
XYZxyz(15.0040, 16.2329, 7.0446)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C703F #3F4B7C
analogous
#7C523F #7C703F #6A7C3F
triadic
#7C703F #3F7C70 #703F7C
tetradic
#7C703F #3F7C52 #3F4B7C #7C3F6A
square
#7C703F #3F7C52 #3F4B7C #7C3F6A
split-complementary
#7C703F #3F6A7C #523F7C
monochromatic
#2B2716 #534B2A #7C703F #A59554 #BBAF7A

Accessibility & contrast

On white

4.95
#7C703F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C703F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C703F#FFFFFF#000000##FFFFFF
##7C703F1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3B
Deuteranopia (green-blind)
#7C7241
Tritanopia (blue-blind)
#846964
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7c703f;
/* rgb */ color: rgb(124, 112, 63);
/* oklch */ color: oklch(54.5% 0.070 96.0);
Tailwind
colors: {
  custom: {
    50: '#a39875',
    500: '#7c703f',
    950: '#000000',
  },
}
SCSS
$custom: #7c703f;
$custom-light: #a39875;
$custom-dark: #000000;
JSON
{
  "hex": "#7c703f",
  "rgb": {
    "r": 124,
    "g": 112,
    "b": 63
  },
  "hsl": {
    "h": 48.197,
    "s": 32.62,
    "l": 36.667
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.0696,
    "h": 96
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#7C703F
secondary
#717BA6
accent
#74C95F
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B

Preview Lab

Preview with #7C703F

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

Preview Lab → · Contrast checker → · Palette generator →

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