#7C6818#7C6818

#7C6818 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.2% C 0.098 H 94.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7C6818
RGBrgb(124, 104, 24)
HSLhsl(48, 68%, 29%)
HSVhsv(48, 81%, 49%)
CMYKcmyk(0%, 16.1%, 80.6%, 51.4%)
CIE-LABlab(44.59, -0.76, 44.69)
CIE-LCHlch(44.59, 44.70, 90.98°)
OKLaboklab(52.22% -0.007 0.0974)
OKLCHoklch(52.22% 0.098 94.1)
XYZxyz(13.4281, 14.2524, 2.9077)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6818 #182C7C
analogous
#7C3618 #7C6818 #5E7C18
triadic
#7C6818 #187C68 #68187C
tetradic
#7C6818 #187C36 #182C7C #7C185E
square
#7C6818 #187C36 #182C7C #7C185E
split-complementary
#7C6818 #185E7C #36187C
monochromatic
#1A1605 #493D0E #7C6818 #AF9322 #D8B836

Accessibility & contrast

On white

5.45
#7C6818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6818
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6818#FFFFFF#000000##FFFFFF
##7C68181.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#875F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6818;
/* rgb */ color: rgb(124, 104, 24);
/* oklch */ color: oklch(52.2% 0.098 94.1);
Tailwind
colors: {
  custom: {
    50: '#a6925c',
    500: '#7c6818',
    950: '#000000',
  },
}
SCSS
$custom: #7c6818;
$custom-light: #a6925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6818",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 48,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.09767,
    "h": 94.1
  },
  "luminance": 0.14252
}

Semantic roles & 50–950 ramp

primary
#7C6818
secondary
#3F56B1
accent
#60EA3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7C6818

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

Preview Lab → · Contrast checker → · Palette generator →

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