#7C6D18#7C6D18

#7C6D18 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.101 H 98.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C6D18
RGBrgb(124, 109, 24)
HSLhsl(51, 68%, 29%)
HSVhsv(51, 81%, 49%)
CMYKcmyk(0%, 12.1%, 80.6%, 51.4%)
CIE-LABlab(46.03, -3.64, 46.00)
CIE-LCHlch(46.03, 46.15, 94.52°)
OKLaboklab(53.35% -0.0152 0.1002)
OKLCHoklch(53.35% 0.101 98.6)
XYZxyz(13.9464, 15.2890, 3.0805)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D18 #18277C
analogous
#7C3B18 #7C6D18 #597C18
triadic
#7C6D18 #187C6D #6D187C
tetradic
#7C6D18 #187C3B #18277C #7C1859
square
#7C6D18 #187C3B #18277C #7C1859
split-complementary
#7C6D18 #18597C #3B187C
monochromatic
#1A1705 #49400E #7C6D18 #AF9A22 #D8C036

Accessibility & contrast

On white

5.18
#7C6D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D18
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D18#FFFFFF#000000##FFFFFF
##7C6D181.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d18;
/* rgb */ color: rgb(124, 109, 24);
/* oklch */ color: oklch(53.3% 0.101 98.6);
Tailwind
colors: {
  custom: {
    50: '#a5965d',
    500: '#7c6d18',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d18;
$custom-light: #a5965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d18",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 24
  },
  "hsl": {
    "h": 51,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.10137,
    "h": 98.6
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#7C6D18
secondary
#3F50B1
accent
#57EA3D
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6D18

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

Preview Lab → · Contrast checker → · Palette generator →

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