#7C6E18#7C6E18

#7C6E18 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.102 H 99.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C6E18
RGBrgb(124, 110, 24)
HSLhsl(52, 68%, 29%)
HSVhsv(52, 81%, 49%)
CMYKcmyk(0%, 11.3%, 80.6%, 51.4%)
CIE-LABlab(46.32, -4.21, 46.27)
CIE-LCHlch(46.32, 46.46, 95.20°)
OKLaboklab(53.58% -0.0168 0.1008)
OKLCHoklch(53.58% 0.102 99.5)
XYZxyz(14.0537, 15.5036, 3.1162)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6E18 #18267C
analogous
#7C3C18 #7C6E18 #587C18
triadic
#7C6E18 #187C6E #6E187C
tetradic
#7C6E18 #187C3C #18267C #7C1858
square
#7C6E18 #187C3C #18267C #7C1858
split-complementary
#7C6E18 #18587C #3C187C
monochromatic
#1A1705 #49410E #7C6E18 #AF9B22 #D8C136

Accessibility & contrast

On white

5.12
#7C6E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7C6E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6E18
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6E18#FFFFFF#000000##FFFFFF
##7C6E181.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#7D701E
Tritanopia (blue-blind)
#86655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c6e18;
/* rgb */ color: rgb(124, 110, 24);
/* oklch */ color: oklch(53.6% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#a5975d',
    500: '#7c6e18',
    950: '#000000',
  },
}
SCSS
$custom: #7c6e18;
$custom-light: #a5975d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6e18",
  "rgb": {
    "r": 124,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 51.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.10218,
    "h": 99.5
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#7C6E18
secondary
#3F4FB1
accent
#56EA3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6E18

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

Preview Lab → · Contrast checker → · Palette generator →

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