#7C6916#7C6916

#7C6916 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.099 H 95.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C6916
RGBrgb(124, 105, 22)
HSLhsl(49, 70%, 29%)
HSVhsv(49, 82%, 49%)
CMYKcmyk(0%, 15.3%, 82.3%, 51.4%)
CIE-LABlab(44.87, -1.42, 45.66)
CIE-LCHlch(44.87, 45.68, 91.78°)
OKLaboklab(52.43% -0.0091 0.0991)
OKLCHoklch(52.43% 0.099 95.2)
XYZxyz(13.5093, 14.4469, 2.8359)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6916 #16297C
analogous
#7C3616 #7C6916 #5C7C16
triadic
#7C6916 #167C69 #69167C
tetradic
#7C6916 #167C36 #16297C #7C165C
square
#7C6916 #167C36 #16297C #7C165C
split-complementary
#7C6916 #165C7C #36167C
monochromatic
#1A1605 #483D0D #7C6916 #B0951F #DBBB32

Accessibility & contrast

On white

5.40
#7C6916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C6916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6916
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6916#FFFFFF#000000##FFFFFF
##7C69161.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756703
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#876059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c6916;
/* rgb */ color: rgb(124, 105, 22);
/* oklch */ color: oklch(52.4% 0.099 95.2);
Tailwind
colors: {
  custom: {
    50: '#a6935b',
    500: '#7c6916',
    950: '#000000',
  },
}
SCSS
$custom: #7c6916;
$custom-light: #a6935b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6916",
  "rgb": {
    "r": 124,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 48.824,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.09948,
    "h": 95.2
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#7C6916
secondary
#3D52B1
accent
#5CED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6916

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

Preview Lab → · Contrast checker → · Palette generator →

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