#7C6C18#7C6C18

#7C6C18 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.101 H 97.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C6C18
RGBrgb(124, 108, 24)
HSLhsl(50, 68%, 29%)
HSVhsv(50, 81%, 49%)
CMYKcmyk(0%, 12.9%, 80.6%, 51.4%)
CIE-LABlab(45.74, -3.07, 45.74)
CIE-LCHlch(45.74, 45.84, 93.84°)
OKLaboklab(53.12% -0.0136 0.0997)
OKLCHoklch(53.12% 0.101 97.7)
XYZxyz(13.8403, 15.0769, 3.0451)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6C18 #18287C
analogous
#7C3A18 #7C6C18 #5A7C18
triadic
#7C6C18 #187C6C #6C187C
tetradic
#7C6C18 #187C3A #18287C #7C185A
square
#7C6C18 #187C3A #18287C #7C185A
split-complementary
#7C6C18 #185A7C #3A187C
monochromatic
#1A1605 #493F0E #7C6C18 #AF9922 #D8BE36

Accessibility & contrast

On white

5.23
#7C6C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C6C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6C18
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6C18#FFFFFF#000000##FFFFFF
##7C6C181.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786905
Deuteranopia (green-blind)
#7C6F1E
Tritanopia (blue-blind)
#86635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c6c18;
/* rgb */ color: rgb(124, 108, 24);
/* oklch */ color: oklch(53.1% 0.101 97.7);
Tailwind
colors: {
  custom: {
    50: '#a5955d',
    500: '#7c6c18',
    950: '#000000',
  },
}
SCSS
$custom: #7c6c18;
$custom-light: #a5955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6c18",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 50.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.10059,
    "h": 97.7
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#7C6C18
secondary
#3F51B1
accent
#59EA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6C18

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

Preview Lab → · Contrast checker → · Palette generator →

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