#7C6618#7C6618

#7C6618 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.096 H 92.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C6618
RGBrgb(124, 102, 24)
HSLhsl(47, 68%, 29%)
HSVhsv(47, 81%, 49%)
CMYKcmyk(0%, 17.7%, 80.6%, 51.4%)
CIE-LABlab(44.02, 0.40, 44.17)
CIE-LCHlch(44.02, 44.17, 89.48°)
OKLaboklab(51.77% -0.0037 0.0963)
OKLCHoklch(51.77% 0.096 92.2)
XYZxyz(13.2292, 13.8546, 2.8414)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6618 #182E7C
analogous
#7C3418 #7C6618 #607C18
triadic
#7C6618 #187C66 #66187C
tetradic
#7C6618 #187C34 #182E7C #7C1860
square
#7C6618 #187C34 #182E7C #7C1860
split-complementary
#7C6618 #18607C #34187C
monochromatic
#1A1505 #493C0E #7C6618 #AF9022 #D8B536

Accessibility & contrast

On white

5.57
#7C6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7C6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6618
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6618#FFFFFF#000000##FFFFFF
##7C66181.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726408
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#875D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c6618;
/* rgb */ color: rgb(124, 102, 24);
/* oklch */ color: oklch(51.8% 0.096 92.2);
Tailwind
colors: {
  custom: {
    50: '#a6915c',
    500: '#7c6618',
    950: '#000000',
  },
}
SCSS
$custom: #7c6618;
$custom-light: #a6915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6618",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 46.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.09637,
    "h": 92.2
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#7C6618
secondary
#3F58B1
accent
#63EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7C6618

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

Preview Lab → · Contrast checker → · Palette generator →

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