#7C6718#7C6718

#7C6718 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.097 H 93.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7C6718
RGBrgb(124, 103, 24)
HSLhsl(47, 68%, 29%)
HSVhsv(47, 81%, 49%)
CMYKcmyk(0%, 16.9%, 80.6%, 51.4%)
CIE-LABlab(44.31, -0.18, 44.43)
CIE-LCHlch(44.31, 44.43, 90.24°)
OKLaboklab(51.99% -0.0054 0.0969)
OKLCHoklch(51.99% 0.097 93.2)
XYZxyz(13.3281, 14.0523, 2.8743)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6718 #182D7C
analogous
#7C3518 #7C6718 #5F7C18
triadic
#7C6718 #187C67 #67187C
tetradic
#7C6718 #187C35 #182D7C #7C185F
square
#7C6718 #187C35 #182D7C #7C185F
split-complementary
#7C6718 #185F7C #35187C
monochromatic
#1A1505 #493C0E #7C6718 #AF9222 #D8B636

Accessibility & contrast

On white

5.51
#7C6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7C6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6718
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6718#FFFFFF#000000##FFFFFF
##7C67181.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#875E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6718;
/* rgb */ color: rgb(124, 103, 24);
/* oklch */ color: oklch(52.0% 0.097 93.2);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7c6718',
    950: '#000000',
  },
}
SCSS
$custom: #7c6718;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6718",
  "rgb": {
    "r": 124,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 47.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.09701,
    "h": 93.2
  },
  "luminance": 0.14052
}

Semantic roles & 50–950 ramp

primary
#7C6718
secondary
#3F57B1
accent
#62EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6718

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

Preview Lab → · Contrast checker → · Palette generator →

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